Add ability to disable fade on <Alert />
See original GitHub issueI see this PR was merged to allow <Modal fade={false} />
, but I’m wondering if the fade={false}
prop could also be used on the <Alert />
component.
Issue description
- components:
<Alert />, <Fade />
- reactstrap version
5.0.0-beta
- import method
umd
(I don’t think I’m using “full”) - react version
16.2.0
- bootstrap version
4.0.0
What is happening?
Attempting to use fade={false}
on <Alert />
, much like you can use it on the modal: <Modal fade={false />
.
What should be happening?
When using <Alert fade={false} />
there should be no transition.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Is there a way to disable the fade in/out animations of desktop ...
Open Outlook · Click on File · Click on Options · Click on Mail · Scroll down until you see "Message arrival" ·...
Read more >how to disable or stop Jquery fade out function - Stack Overflow
On the particular page you can add another class to the element, say .disabled , and then have the code in the main...
Read more >Add a pref to disable sliding effect for alerts - Bugzilla@Mozilla
Disabling the sliding effect if set on the about:config preference, avoids to resize the alert box if new size is greater than final...
Read more >How can I disable the fade in and fade out effects in pgAdmin ...
I could not disable the fade completely, but I got to remove the zooming effect (which also executes faster) improving the user experience....
Read more >PLEASE add option to disable notification fade-out
I admit, the fade-out is sexy for the notification popups, but they also OFTEN cause me to literally shout out a long string...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@TheSharpieOne I’d like to jump in on this! 🚀
I like this idea and I would even take it a step further. Maybe instead of toggling a single transition, we can have the ability to pick the animation and/or disable it. The prop can be
animation
(ortransition
, but we already havetransition
…)animation="fade"
, (oranimation={Fade}
if we determine to just pass in the transition component)animation="collapse"
, oranimation={false}
. We can still default toFade
but this allows the transition to be disabled as well as changed.