Skip to content
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

Restore anchor click default behavior, which is required under certain conditions. #658

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

charginghawk
Copy link
Contributor

Adding "preventDefault" to anchor link clicks broke the mobile experience for search facets, which depended on targeting specific fragments to effect certain styles. We use the "fragment targeting as js substitute" approach elsewhere on occasion (the pegaworld static menu, for example), so this has to be removed.

It was added to fix a minor flashing issue using anchor links in IE11, and we'll have to address that in a future PR.

@bolt-bot
Copy link
Collaborator

⚡ PR built on Travis and deployed a now preview here:

@bolt-bot
Copy link
Collaborator

⚡ Sauce Labs Test for chrome Passed!

Image of chrome test
Test Details

@bolt-bot
Copy link
Collaborator

⚡ Sauce Labs Test for internet explorer Passed!

Image of internet explorer test
Test Details

Copy link
Contributor

@sghoweri sghoweri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charginghawk - whoops - didn't see this preventDefault in here in the original PR! Good catch!

@sghoweri sghoweri merged commit 6fe33ea into master Apr 27, 2018
@sghoweri sghoweri deleted the feature/reenable-anchor-default branch April 27, 2018 17:20
@sghoweri sghoweri mentioned this pull request Apr 27, 2018
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