You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a option names 'strictCloseMode' default false.
when this option is on, forbid any auto close behavior. That means, in this mode, the only close condition is user set open/show value to false.
This mod is very import in complex scenario, give user more precise control.
Actually, I use your component in this way, so I fork the project, and remove all auto close code.
Add another mode manual focus
In this mod, all focusTrap thing is slient. in complex scenario, there is no chance use a low level component like dialog to handle other feature than dialog.
Add headless mode
in this mode, above mode is on. so user can use your component as their framework base component.
Headlessui is great, but lack headless mode component. When user adoped tailwind, mostly abandon some older ui framework, and want to build their own framework. and there is not enough headless component there.What I suggest is consider some more 'lower' mod.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Add a option names 'strictCloseMode' default false.
when this option is on, forbid any auto close behavior. That means, in this mode, the only close condition is user set open/show value to false.
This mod is very import in complex scenario, give user more precise control.
Actually, I use your component in this way, so I fork the project, and remove all auto close code.
Add another mode manual focus
In this mod, all focusTrap thing is slient. in complex scenario, there is no chance use a low level component like dialog to handle other feature than dialog.
Add headless mode
in this mode, above mode is on. so user can use your component as their framework base component.
Headlessui is great, but lack headless mode component. When user adoped tailwind, mostly abandon some older ui framework, and want to build their own framework. and there is not enough headless component there.What I suggest is consider some more 'lower' mod.
Beta Was this translation helpful? Give feedback.
All reactions