FocusScope focus infinite loop (react -> solidjs) #7772
Unanswered
NaviTheCoderboi
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Thanks for the message. Unfortunately, 1000 lines is a lot to go through and I do not know solid-aria, can you help us help you? Could you delete lines until it stops reproducing so there is a smaller set of code to look at? It would also be helpful if there was a codesandbox or stackblitz to look at. It would also help if there was more information about when it enters the infinite loop. For starters, does it happen when the FocusScope tries to restore focus? Or does it happen when it tries to contain focus? Or does it happen during auto focus? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, i am building a port of react-aria for solid, i have tried to make FocusScope component of react-aria for solid-js but i am getting such weird behavior, its focusing between two elements again and again in an infinite loop, my code is 1000+ lines (due to types)
this is my code, i wrote it 3 times again and again, it didn't work though
https://pastecord.com/elehazezat.typescript
any help is appreciated
pls try to help, this project might help solidjs community
Beta Was this translation helpful? Give feedback.
All reactions