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

Block page navigations and make them as actions #7

Closed
arunoda opened this issue Mar 29, 2016 · 3 comments
Closed

Block page navigations and make them as actions #7

arunoda opened this issue Mar 29, 2016 · 3 comments

Comments

@arunoda
Copy link
Member

arunoda commented Mar 29, 2016

When clicked on a HREF we need to prevent any page navigation. Instead we need to fire an action.

@smeijer
Copy link

smeijer commented Jul 16, 2016

Is there already a workaround available for this?

@smeijer
Copy link

smeijer commented Nov 2, 2016

Anybody?

ndelangen pushed a commit that referenced this issue Apr 5, 2017
ndelangen pushed a commit that referenced this issue Apr 5, 2017
ndelangen pushed a commit that referenced this issue Apr 5, 2017
ndelangen added a commit that referenced this issue Apr 5, 2017
ndelangen pushed a commit that referenced this issue Apr 5, 2017
ndelangen pushed a commit that referenced this issue Apr 5, 2017
ndelangen pushed a commit that referenced this issue Apr 11, 2017
Update all dependencies 🌴
( 0 files changed :/ )
ndelangen pushed a commit that referenced this issue Apr 11, 2017
ndelangen pushed a commit that referenced this issue Apr 11, 2017
ndelangen pushed a commit that referenced this issue Apr 11, 2017
ndelangen pushed a commit that referenced this issue Apr 15, 2017
Identify the page using a param
ndelangen pushed a commit that referenced this issue May 11, 2017
@ndelangen
Copy link
Member

ndelangen commented Jul 7, 2017

I don't really agree this should be default storybook behavior.

If a component has a <a href... that's what the component is and does.
Overriding this without explicit configuration to do so, would be super unexpected.

I'm guessing it's rather easy to write an addon that will preventDefault() any click within it, and log an action. But I haven't seen such an addon yet, so I'm really wondering if this is something we should write.

If you want this comment below or make a PR :)

ndelangen pushed a commit that referenced this issue Nov 11, 2017
igor-dv pushed a commit that referenced this issue Nov 5, 2018
ghengeveld added a commit that referenced this issue Sep 8, 2021
ndelangen pushed a commit that referenced this issue Feb 23, 2024
Implement bare minimum confetti component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants