We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Today we had someone report an interesting issue in iTwinUI: iTwin/iTwinUI#1122
We offered them a workaround but the root cause of this is that focus stays inside the old widget even after clicking on the new widget.
This can be confirmed by creating a watch expression for document.activeElement in chrome devtools.
document.activeElement
To Reproduce Steps to reproduce the behavior:
Expected behavior
Focus should move to the new tab.
Screenshots
N/A
Desktop (please complete the applicable information):
Additional context
This is likely because the tabs are made up of divs rather than buttons.
iTwinUI Tabs can handle all this for you and more (like keyboard navigation). https://itwin.github.io/iTwinUI/react/?path=/story/core-tabs--default-tabs
Tabs
I'm also not sure if this issue should be opened in appui or in viewer. Let me know if this isn't the right place and I can move it.
appui
viewer
The text was updated successfully, but these errors were encountered:
Partner who reported this bug would like to have this fixed by end of March or early April. Requesting to prioritize.
Sorry, something went wrong.
Change in behavior have been released in 4.0.0
raplemie
No branches or pull requests
Describe the bug
Today we had someone report an interesting issue in iTwinUI: iTwin/iTwinUI#1122
We offered them a workaround but the root cause of this is that focus stays inside the old widget even after clicking on the new widget.
This can be confirmed by creating a watch expression for

document.activeElement
in chrome devtools.To Reproduce
Steps to reproduce the behavior:
document.activeElement
Expected behavior
Focus should move to the new tab.
Screenshots
N/A
Desktop (please complete the applicable information):
Additional context
This is likely because the tabs are made up of divs rather than buttons.
iTwinUI
Tabs
can handle all this for you and more (like keyboard navigation). https://itwin.github.io/iTwinUI/react/?path=/story/core-tabs--default-tabsI'm also not sure if this issue should be opened in
appui
or inviewer
. Let me know if this isn't the right place and I can move it.The text was updated successfully, but these errors were encountered: