-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New room list: add keyboard navigation support #29805
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
Merged
florianduros
merged 9 commits into
develop
from
florianduros/new-room-list/a11y-keyboard
May 6, 2025
Merged
New room list: add keyboard navigation support #29805
florianduros
merged 9 commits into
develop
from
florianduros/new-room-list/a11y-keyboard
May 6, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c9b8eeb
to
94920e4
Compare
cf8056d
to
0387c0f
Compare
0387c0f
to
697fc8e
Compare
697fc8e
to
3b9e8f2
Compare
3b9e8f2
to
56677d7
Compare
56677d7
to
59a349a
Compare
930e9b5
to
c925e40
Compare
c445a47
to
f2f9ac1
Compare
f2f9ac1
to
4e57094
Compare
4e57094
to
dc457f4
Compare
dbkr
approved these changes
May 6, 2025
const vm = useRoomListItemViewModel(room); | ||
|
||
const [isHover, setIsHover] = useState(false); | ||
const [isHover, setIsHover] = useIsHover(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
const [isHover, setIsHover] = useIsHover(); | |
const [isHover, setIsHoverWithDelay] = useIsHover(); |
to match maybe?
parsatorb
pushed a commit
to iluvatar-tech/element-web
that referenced
this pull request
May 6, 2025
* feat: support up/down arrow navigation in the new room list * feat: support tabbing in the new room list * test: update snapshots * test(e2e): fix room list test * test(new room list): add landmark navigation test * test(e2e): update screenshot test * test: add test to `RoomListItemView` * test(e2e): add keyboard navigation tests * refactor: rename `setIsHover` on `setIsHoverWithDelay`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task https://github.com/element-hq/wat-internal/issues/204
This PR is a first step to add keyboard navigation to the new room list:
RovingTabIndex
componentScreen.Recording.2025-05-06.at.11.44.26.mov
NB: The landmark shortcut support for the search bar of the left panel will be added in another PR.