We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The glare effect will not show with trackOnWindow enabled, until the user hover over the tilt card. This is even reproduceable from your own demo.
trackOnWindow
https://mkosir.github.io/react-parallax-tilt/?path=/story/react-parallax-tilt--track-on-window
<Tilt>
glareEnable={true}
trackOnWindow={true}
Tilt
Glare effect should be present at all time when track on window is enabled.
import React from 'react'; import Tilt from 'index'; import './TrackOnWindow.demozap.css'; const TrackOnWindow = () => ( <Tilt className="background-stripes track-on-window" perspective={500} glareEnable={true} glareMaxOpacity={0.75} glarePosition="all" scale={1.02} trackOnWindow={true} > <div className="inner-element"> <div>React</div> <div>Parallax Tilt</div> <div>👀</div> </div> </Tilt> ); export default TrackOnWindow;
1.7.246
All browsers.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The glare effect will not show with
trackOnWindow
enabled, until the user hover over the tilt card.This is even reproduceable from your own demo.
Link to Reproduction - Please provide demo in online code editor CodeSandbox or similar. - Issues without a reproduction link are likely to stall.
https://mkosir.github.io/react-parallax-tilt/?path=/story/react-parallax-tilt--track-on-window
Steps to reproduce
<Tilt>
withglareEnable={true}
andtrackOnWindow={true}
.Tilt
card.Tilt
card, you will notice that the glare effect is not present.Tilt
card, and then hover outside ofTilt
card again, this time you will notice the glare effect.Expected behavior
Glare effect should be present at all time when track on window is enabled.
Code snippets
React Parallax Tilt Version
1.7.246
Browser
All browsers.
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: