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

fix(core): Disable rewriteLinks to allow proper event handling #7064

Merged

Conversation

alanmquach
Copy link
Contributor

Otherwise, in certain scenarios Angular ends up preventing react from being able to properly handle the link's click event, causing some unexpected behavior.

This should cause any issues, but if it does, we should try to fix those issues if we can instead of simply reverting this change.

@christopherthielen
Copy link
Contributor

christopherthielen commented Jun 4, 2019

here is the AngularJS click handler:

https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L894-L937

@christopherthielen christopherthielen merged commit 78a9f72 into spinnaker:master Jun 4, 2019
christopherthielen added a commit to christopherthielen/deck that referenced this pull request Jun 5, 2019
8398d77 refactor(*): make accountExtractor return an array of strings (spinnaker#7068)
e6d1586 feat(core/presentation): support JSX for validationMessage in FormFields (spinnaker#7083)
78a9f72 fix(core): Disable rewriteLinks to allow proper event handling (spinnaker#7064)
3f21c1f feat(executions): Adding redirect for execution without application (spinnaker#7076)
f89d97d feat(core/presentation): Add "success" type to ValidationMessage (spinnaker#7082)
4e89a39 refactor(core/presentation): Consolidate Checklist and ChecklistInput components (spinnaker#7077)
9bbc002 feat(core/presentation): Support inline radio buttons (spinnaker#7078)
b142789 fix(triggers): Poll on execution id instead of event id (spinnaker#7067)
6af93e3 refactor(pipeline): Pipeline stage execution details to react (spinnaker#7063)
christopherthielen added a commit that referenced this pull request Jun 5, 2019
8398d77 refactor(*): make accountExtractor return an array of strings (#7068)
e6d1586 feat(core/presentation): support JSX for validationMessage in FormFields (#7083)
78a9f72 fix(core): Disable rewriteLinks to allow proper event handling (#7064)
3f21c1f feat(executions): Adding redirect for execution without application (#7076)
f89d97d feat(core/presentation): Add "success" type to ValidationMessage (#7082)
4e89a39 refactor(core/presentation): Consolidate Checklist and ChecklistInput components (#7077)
9bbc002 feat(core/presentation): Support inline radio buttons (#7078)
b142789 fix(triggers): Poll on execution id instead of event id (#7067)
6af93e3 refactor(pipeline): Pipeline stage execution details to react (#7063)
@alanmquach alanmquach deleted the disable-rewritelinks branch July 11, 2019 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants