Skip to content

Added onClick handler to refocus when newLink is clicked - #704

Open
ehuatai wants to merge 5 commits into
mainfrom
fix-tab-focus-newlink
Open

Added onClick handler to refocus when newLink is clicked#704
ehuatai wants to merge 5 commits into
mainfrom
fix-tab-focus-newlink

Conversation

@ehuatai

@ehuatai ehuatai commented Jun 12, 2024

Copy link
Copy Markdown
Collaborator

For some reason reloads the page each time newLink is clicked now, but hitting tab on the new page does properly focus the top of the page

For some reason reloads the page each time newLink is clicked now, but hitting tab on the new page does properly focus the top of the page
@ehuatai
ehuatai requested a review from waisaed June 12, 2024 19:27
@ehuatai ehuatai self-assigned this Jun 12, 2024
ehuatai added 4 commits June 17, 2024 12:44
…ing on NextLink

I added the styling to the application wide application.css which is for sure not the right place for it. It's working as intended right now but I'm not sure how the CSS is organized and where to put it so it doesn't affect the entire application. Other than that, focus works as intended in Chrome, Firefox, and Safari, although I needed to change settings in Firefox and Safari to get it to work.
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

Successfully merging this pull request may close these issues.

1 participant