Comments (3)
@kolaps33 I can't repro this on the docs site on Chrome or Edge (both v126) on Windows, Firefox v127 on Windows, Edge v125 on Mac, or Chrome (canary) v128 on Mac. I'm trying all the following on the Combobox docs page:
- scrolling down partway through the page, clicking to set focus nav start point, then tabbing to comboboxes
- tabbing through all comboboxes, starting from the top of the page
- Doing both of the above, and also opening a combobox somewhere partway down the page after tabbing to it
Is there something you're doing to get this behavior that I've missed? Also, could you provide browser & version info?
from fluentui.
@smhigley Hi, I can reproduce it and figured out where the issue comes from but don't know how to fix it, yet.
See: https://codesandbox.io/p/sandbox/fluentui-issues-31814-4thsym
It seems to be part of the useActiveDescendant hook in the @fluentui/react-aria dep. More precisely it is due to this MR #31158.
The findScrollableParent method recursively searches for a parent element that is overflowing vertically and scrolls to the top of it. Unfortunately this parent element does not necessarily is in context within the combobox itself. For example it is a wrapper div that contains multiple forms or elements.
edit:
Actually, I guess #31415 should be the fix for this misbehavior. Can you give a rough estimation on when this might be released with an update of the react-components?
edit 2:
The current bugfix release (9.54.3) brings a new prop to the Combobox component that works around this issue. Not a real fix as it decreases UX but at least it is usable again using that property.
@kolaps33 Does that prop also work for your case?
from fluentui.
This actually also happens for the TagPicker when the inline prop is used. The "workaround" using disableAutoFocus doesn't help here.
from fluentui.
Related Issues (20)
- [Feature] Fade motion component
- [Feature] Scale motion component
- [Bug]: can't release @fluentui/react-northstar HOT 3
- [Bug]: test environment not correctly detected in Jest for animations
- [Bug]: Focus on TreeItemLayout not shown when element.focus()
- [Feature Request]: Add Mixed Selection Functionality Similar to Outlook in Datagrid Component
- [Bug]: TreeItem not showing actions on click in test environments HOT 1
- feat: v9 datepicker-compat and calendar-compat arrow key wrapping
- [Bug]: DetailList onItemInvoked will be incorrectly triggered on group level
- [Bug]: Regression issue: The height limit of Combobox with Virtualizer doesn't work HOT 1
- [Bug]: GroupListV2 cannot drag and drop item to group level HOT 1
- [Feature]: a React provider to disable motions
- [Bug]: useControllableState throws console.error from Fluent's own DatePicker
- [Feature]: react-storybook-addon: move all `parameters` configurable options under 1 property
- [Bug]: [DetailsList] Selection gets lost when filtering
- [Bug]: Web-component version does not support Text and button for in an intuitive way for Bing
- [Bug]: "size" property is not working correctly in Toolbar* components
- [Bug]: Nested dialog focus restore is broken
- [Bug]: (web-components) attribute-driven ElementInternals states allow setting arbitrary states
- [Bug]: Not all components have their props listed on the docs site
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui.