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

Add link component #262

Merged
merged 4 commits into from
Aug 29, 2019
Merged

Add link component #262

merged 4 commits into from
Aug 29, 2019

Conversation

pgetta
Copy link

@pgetta pgetta commented Aug 29, 2019

Now user interactions (clicks so far) will be handled in outer scope.
This way we can define custom logic for web components.
Current implementation will emit custom events when user clicks links
instead of changing current route

Pavlo Getta added 3 commits August 29, 2019 11:17
Now user interactions (clicks so far) will be handled in outer scope.
This way we can define custom logic for web components.
Current implementation will emit custom events when user clicks links
instead of changing current route
Copy link
Contributor

@kenjinp kenjinp left a comment

Choose a reason for hiding this comment

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

lets test to see if on link click event propagation can be stopped

facebook/react#9242 (comment)

@pgetta
Copy link
Author

pgetta commented Aug 29, 2019

lets test to see if on link click event propagation can be stopped

facebook/react#9242 (comment)

Done, now component will call event's preventDefault.

@kenjinp kenjinp merged commit c118925 into BlueBrain:search-poc Aug 29, 2019
kenjinp added a commit that referenced this pull request Aug 29, 2019
kenjinp added a commit that referenced this pull request Aug 29, 2019
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.

2 participants