mirror of https://github.com/zulip/zulip.git
6e9da8ab2a
If the popover reference is in an overlay, the below check: ```js elements_at_reference_position.some( (element) => element.id === "navbar-fixed-container" || element.id === "compose-content" || element.classList.contains("sticky_header"), ) ``` would make the popover not appear if the reference was above them. To make things simpler for us to check, we only handle popover references inside message list which we know for sure will always be below the elements checked above in stacking context. Hiding popovers for other view is done good enough by `data-reference-hidden` check that we don't need to manually handle them. |
||
---|---|---|
.. | ||
e2e-tests | ||
generated | ||
html | ||
images | ||
shared | ||
src | ||
styles | ||
templates | ||
tests | ||
third | ||
.browserslistrc | ||
.gitignore | ||
babel.config.js | ||
debug-require-webpack-plugin.ts | ||
debug-require.js | ||
postcss.config.js | ||
webpack.assets.json | ||
webpack.config.ts | ||
webpack.dev-assets.json |