mirror of https://github.com/zulip/zulip.git
2273608477
I noticed a super weird bug where the edit pencil would disappear on hover inside the message feed (!). Investigation determined that what was actually happening was that the Drafts overlay had been shown and then hidden at a time when the mouse cursor was over the icons with `data-toggle="tooltip"` configured, and the tooltip showing. The result was that this tooltip object, if you mouse over it, would cause us to no longer be hovering over the message (because your cursor was actually over the invisible drafts widget's leaked tooltip). Ideally, we'd have fixed this by making the drafts modal `display: none`, but that would interfere with the modal's closing animation, and there's no good way to have an event trigger on a CSS animation finishing. There's a second bug that makes this possible, however, which is that the drafts modal is supposed to be `pointer-events: none` while hidden, but some rogue CSS for `message_top_line *` set `pointer-events: auto` to override `pointer-events: none` on `message_top_line` was accidentally applying to things inside that line in the drafts modal, and furthermore accidentally overriding the `none` setting for the modal as a whole. We fix that second bug here, which resolves the overall issue. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
styles | ||
templates | ||
third | ||
.gitignore | ||
favicon.ico |