Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while having multiple Turnstone components on same page #7

Open
sorja opened this issue Oct 11, 2022 · 0 comments
Open

Issue while having multiple Turnstone components on same page #7

sorja opened this issue Oct 11, 2022 · 0 comments

Comments

@sorja
Copy link

sorja commented Oct 11, 2022

There is an issue where the defaultListbox breaks when having multiple instances of Turnstone on same page.
Issue replicated here:
https://codesandbox.io/s/basic-turnstone-implementation-forked-c74bjm?file=/src/App.js

Expectation:

  • Click on Autocomplete (Turnstone) component
  • List of options show up
  • You can write or select from list

Issue:

  • Click on Autocomplete (Turnstone) component
  • List of some other instance of Autocomplete (Turnstone) is shown

Notes:

  • It works if defaultListbox is omitted
  • If defaultListbox is omitted, the selection menu doesn't open up automatically

Video explaining the issue:

Screen.Recording.2022-10-11.at.11.36.24.mov
webcodavic added a commit to webcodavic/turnstone that referenced this issue Mar 14, 2024
webcodavic added a commit to webcodavic/turnstone that referenced this issue Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant