INP issue
#2878
Replies: 1 comment
-
Another issue, it may not may not be avoidable, is that floating ui wraps everything in a react context, every time a hide of a dialog or a tooltip, the whole element gets destroyed and a show forces a re-render. For a large dialog, this is very costly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I must admit this discussion might be premature.
But we use floating-ui and all of our elements, dialog, tooltip, popover have INP issues. I tested floating ui's examples, with 4x cpu slowdown. It's also not always good, especially considering that the ui is at its bare minimum.
https://js3bo9.csb.app/
I read this pr for a different library has achieved some INP improvement. I wonder if the same improvement would be applicable in floating ui.
radix-ui/primitives#2855
Beta Was this translation helpful? Give feedback.
All reactions