Skip to content

Fix focus styles - #1181

Merged
shiftkey merged 3 commits into
masterfrom
hocus-focus
Apr 12, 2017
Merged

shiftkey merged 3 commits into
masterfrom
hocus-focus

Conversation

@donokuda

Copy link
Copy Markdown
Contributor

This PR fixes #1127 with the issue around showing focus styles when a button is clicked. It also defaults to the native OS focus styles:

Before (macOS)

screen shot 2017-04-11 at 11 53 31 am

clicking-link-old

After (macOS)

screen shot 2017-04-11 at 11 54 10 am

clicking-link

I'm running into npm install issues on the Windows side so I can't test this out there. If someone else could test this on Windows, that would be greeeeeat. Otherwise, I'll try to troubleshoot my windows dev environment later on and give this branch a go.

Comment thread app/src/ui/index.tsx
installDevGlobals()
}

require('wicg-focus-ring')

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@shiftkey

Copy link
Copy Markdown
Member

I'm running into npm install issues on the Windows side so I can't test this out there.

@donokuda do you have an npm-debug.log file to show what's not working?

@shiftkey

Copy link
Copy Markdown
Member

Windows with keyboard focus:

Windows with mouse focus (default browser appears underneath app, which you can't see obvs):

The draggable links also work as expected.

@shiftkey
shiftkey merged commit eb40225 into master Apr 12, 2017
@shiftkey
shiftkey deleted the hocus-focus branch April 12, 2017 00:28
@donokuda

Copy link
Copy Markdown
Contributor Author

@donokuda

Copy link
Copy Markdown
Contributor Author

@shiftkey Update: I fixed my problem by doing git clean -xdf && npm install && npm run build:dev

@niik niik mentioned this pull request Apr 18, 2017
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.

3 participants