enesozturk / react-native-hold-menu

📱 A performant, easy to use hold to open context menu for React Native powered by Reanimated 🚀
https://enesozturk.github.io/react-native-hold-menu/
MIT License
1.4k stars 91 forks source link

RTL not supported, the holdItem change position on active #119

Open Essam-Harrous opened 3 weeks ago

Essam-Harrous commented 3 weeks ago

Describe the bug when clicking on the HoldItem, the position of the View moves to the reverse direction Left to right & right to left.

To Reproduce Steps to reproduce the behavior:

  1. enable RTL
  2. use the example code.
  3. long press on one of the examples you'll notice the issue.

Expected behavior it's supposed to render on the same position.

Actual behavior it render on the opposite position

Screenshots https://github.com/user-attachments/assets/28df3c80-ec59-49f8-a95d-5baa30b1ec12

Package versions