mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +00:00
fdeb9244db
* Avoid destroyed tippy warning Tippy doesn't remove its onDocumentPress listener when destroyed. Instead the listener removes itself after calling hide for hideOnClick. It doesn't look like there is a way to reliable work around this. This skips the warning for the first hide call on a destroyed tippy instance. Cleanup is only performed after at least ten tippy instances have been created. * Hide tooltips for elements that are no longer connected to the document * Only render action modals after first show * Only render action dropdown after first show * Modals fix for quick unmount Modals use `await import("bootstrap/js/dist/modal")` when being mounted. This means its possible that the component unmounts before the promise resolves. * bind() dropdown toggle click handler * Modal mixin |
||
---|---|---|
.. | ||
assets | ||
client | ||
server | ||
shared |