formaat-design / reshaped

Community repository for storing examples, reporting issues and tracking roadmap
https://reshaped.so
110 stars 3 forks source link

[BUG] Popover trigger speed #314

Open vladoyoung opened 2 weeks ago

vladoyoung commented 2 weeks ago

Describe the bug Newer versions of Reshaped have a slower Popup trigger compared to older ones.

To Reproduce Reshaped 3.1.2 - https://codesandbox.io/p/sandbox/7h9q9f Reshaped 2.10.19 - https://codesandbox.io/p/sandbox/reshaped-popover-toggle-speed-reshaped-3-1-2-forked-qcxwqk

Expected behavior Either the old speed or to have control over the speed with a triggerSpeed attribute for example.

Screenshots Reshaped 3.1.2:

https://github.com/user-attachments/assets/3d7974db-bd1e-47f2-9fdf-3f47565711d0

Reshaped 2.10.19: https://github.com/user-attachments/assets/d0628c1f-6d97-4410-8140-ea09bac93600

randalmaia commented 2 weeks ago

I have the same issue

blvdmitry commented 2 weeks ago

Going to add it to the next patch. It's coming from the changes related to the tooltip / popover groups. I'll see if we can automatically reduce the timer for the first hover only or if we need a new propfor this

omgovich commented 1 week ago

+1 We are also considering using Popover with triggerType="hover" for header submenus, but at the moment the delay is too big for that.