You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scale Version
"@telekom/scale-components": "3.0.0-beta.147",
"@telekom/scale-components-react": "3.0.0-beta.147",
Framework and version
"react": "18.2.0",
Current Behavior
When multiple instances of ScaleDropdownSelect are rendered at the same time and clicking on each after one another the previously opened dropdowns do not close. Note: Do not click outside of the dropdowns, but directly on the other one to open it.
Expected Behavior
The dropdown losing the focus should close.
Code Reproduction
Render this component in a react App and click on the dropdowns randomly:
Scale Version
"@telekom/scale-components-react": "3.0.0-beta.137",
"@telekom/scale-components": "3.0.0-beta.137",
Framework and version
"react": "^18.2.0",
We faced the same behaviour as described above. Using multiple ScaleDropdownSelect on the same page, dropdowns are not closing when another is being opened. On small viewports (mobile): option lists start overlapping what is causing bad UX.
Probably, blur event is not firing since user is again clicked on another ScaleDropdownSelect and instead focus event is fired for new clicked ScaleDropdownSelect. Not outside. When second ScaleDropdownSelect is opened/closed, previous one is simply freeze.
Scale Version
"@telekom/scale-components": "3.0.0-beta.147",
"@telekom/scale-components-react": "3.0.0-beta.147",
Framework and version
"react": "18.2.0",
Current Behavior
When multiple instances of
ScaleDropdownSelect
are rendered at the same time and clicking on each after one another the previously opened dropdowns do not close.Note: Do not click outside of the dropdowns, but directly on the other one to open it.
Expected Behavior
The dropdown losing the focus should close.
Code Reproduction
Render this component in a react
App
and click on the dropdowns randomly:Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: