discourse/app/assets/javascripts/float-kit/addon/lib
Joffrey JAFFEUX fe16633a0c
DEV: allows for multiple menus/tooltips (#26823)
menus and tooltips are now appended to their own portals. The service are the only responsible for managing the instances, prior to this commit, services could manage one instance, but the DMenu and DTooltip components could also take over which could cause unexpected states.

This change also allows nested menus/tooltips.

Other notable changes:

- few months ago core copied the CloseOnClickOutside modifier of float-kit without removing the float-kit one, this commit now only use the core one.
- the close function is now trully async
- the close function accepts an instance or an identifier as parameter
2024-05-07 23:48:44 +02:00
..
constants.js DEV: Add autofocus option to d-menu (#26829) 2024-05-01 12:11:11 +02:00
d-menu-instance.js DEV: allows for multiple menus/tooltips (#26823) 2024-05-07 23:48:44 +02:00
d-toast-instance.js FIX: prevents mobile DMenu modal to lock scroll (#26550) 2024-04-08 09:47:50 +02:00
d-tooltip-instance.js DEV: allows for multiple menus/tooltips (#26823) 2024-05-07 23:48:44 +02:00
float-kit-instance.js DEV: allows for multiple menus/tooltips (#26823) 2024-05-07 23:48:44 +02:00
get-scroll-parent.js DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
update-position.js DEV: Add placement: center option to float-kit (#26830) 2024-05-01 12:12:00 +02:00