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

Programmatically trigger reveal or disable capability #55

Closed
TheMeteoRain opened this issue Nov 16, 2020 · 3 comments
Closed

Programmatically trigger reveal or disable capability #55

TheMeteoRain opened this issue Nov 16, 2020 · 3 comments

Comments

@TheMeteoRain
Copy link

TheMeteoRain commented Nov 16, 2020

Hi,

just here to leave a suggestion to allow programatically trigger reveal or disable them on the fly.

For example:
You have a one big web page and you have headings that include anchor links (e.g. /#about), so you can jump between sections quickly. If I implement this now and jump to third heading on the site, sections one and two still hasn't triggered their reveal animations, but when I scroll up, they will trigger. The reveals don't look that great when scrolling top of the page, because they were implemented scrolling to bottom of the page "in-mind".

@TheMeteoRain TheMeteoRain changed the title Programmatically trigger reveal Programmatically trigger reveal or disable capability Nov 16, 2020
@imnasnainaec
Copy link

Without more control on triggering events, react-awesome-reveal is not a sufficient substitute for react-reveal.

@morellodev
Copy link
Owner

@imnasnainaec no-one said this is a replacement for react-reveal 🤔

@morellodev
Copy link
Owner

The main purpose of react-awesome-reveal is clearly written at the beginning of the README:

React Awesome Reveal is a library for React apps written in TypeScript that adds reveal animations using the Intersection Observer API to detect when the elements appear in the viewport. Animations are internally provided by Emotion and implemented as CSS Animations to benefit from hardware acceleration.

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

No branches or pull requests

3 participants