Comments (3)
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 :)
from storybook.
Is there already a workaround available for this?
from storybook.
Anybody?
from storybook.
Related Issues (20)
- Storybook 8 Community Addon Outreach HOT 10
- Auto migration: Adjust migrations to run only from one particular version to another
- [Bug]: cannot close notification by clicking on `x` HOT 2
- Add types export to preview entries of addons
- [Bug]: Jsx disapear from chrome dev tools source after migration to storybook 7 HOT 5
- [Bug]: Error when trying to create a story for a not standalone component that extends a standalone component HOT 2
- [Bug]: Causing Issue while upgrading Storybook version from 6.5 to 7.6 (latest) HOT 2
- Automigration: Vue3 replaced `app` export with `setup`
- [Bug]: Hot reload on docs page causes scroll to top
- Portable stories - Create experimental API for Playwright CT in React
- [Bug]: Imported markdown renders broken in Firefox
- [Bug]: Failed to build the preview Vite
- [Bug]: 8.0.0-beta.1 breaks storybook build in yarn pnp HOT 3
- [Bug]: react-docgen-loader generates invalid code when re-exporting a component with a different name since 7.6 HOT 8
- [Bug]: Default values on select controls aren't keep as defined HOT 1
- [Bug]: storybook cli init not working with NX "package based" repo HOT 2
- [Bug]: storybook7 fails in headless mode
- [Bug]: Angular Error with project initialization HOT 2
- Deprecate/sunset `@storybook/testing-vue3` alongside Storybook 8 HOT 3
- Portable stories - Document recipes for Jest, Vitest, Playwright CT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook.