-
Notifications
You must be signed in to change notification settings - Fork 23
Select: need a way to disable the hide
modifier from popper
#783
Comments
iui-popover
iui-popover
iui-popover
hide
modifier from popper
For more context: the Ideal solution would be to improve the backdrop logic/styles in App UI, but I think it also makes sense for iTwinUI to offer a way to disable this |
In the
|
None of those are really what we need, except maybe the custom plugins. What I'm talking about is popper's And we need a way to disable this feature because it doesn't work in modeless dialog. |
One option might be to use headless tippy and filter out the |
From what I have searched, I don't think there is an easy way to disable popper's |
Closing this as we want to get rid of tippy.js completely. |
We rely on popper's
hide
modifier to hide the popover when the reference element leaves the viewport.There needs to be a way to disable this modifier either through
popperOptions
or through scoped styling.Currently if a
className
is passed toSelect
, it gets applied on the select button. IfpopoverProps.className
is passed, it gets applied on the menu. There is no way to target the tippy.This was needed to work around a bug with App UI's modeless dialog. See sandboxes where this bug is found in the select inside the "modeless dialog":
https://www.itwinjs.org/sandboxes/MuthuKalamani/UIControlsInDialogBox
https://www.itwinjs.org/sandboxes/NancyMcCall/Override%20Dialog%20z-index
The text was updated successfully, but these errors were encountered: