Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Jun 26, 2020
1 parent 3a532e1 commit d76cc56
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/component/src/Utils/Fade.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ const Fade = ({ children, fadeAfter }) => {

Fade.defaultProps = {
children: undefined,

// TODO: Find a better value or way (setTimeout, requestAnimationFrame, etc)
fadeAfter: 100
// fadeAfter: 0 // Setting to 0 will make some screen reader text not read at all.
fadeAfter: 1000
};

Fade.propTypes = {
Expand Down

0 comments on commit d76cc56

Please sign in to comment.