floating-ui / floating-ui/floating-ui
[React-Native Android] : On switching between two spotlight targets, the floating dialog is initially rendered in the position of previous target
- Dominant language
- TypeScript
- Stars
- 32.7k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug** In Android, On switching between two spotlight targets, the floating dialog is initially rendered in the position of the previous target.
**To Reproduce**
- [@floating-ui/react-native: https://codesandbox.io/s/floating-ui-dom-template-utpx0u](https://gist.github.com/AmalMenachery/e12d29361b1f43e543cb94881758df1c)
Steps to reproduce the behavior:
1. Select the first target icon.
2. Select the second target icon.
3. The floating styles remain the same as before for three cycles, and then they re-render with the actual target of the second icon.
**Expected behavior** The floating dialog is rendered properly in the first render itself.
**Screenshots**
https://github.com/user-attachments/assets/6a9224a9-2e42-469d-bd42-4d1deaadece0
**Context:**
- OS: Android (React-Native)
- Browser : NA
- Version: @floating-ui/react-native: 0.10.6
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.