Skip to content

feat(galleryItem): image orientation #916

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

Merged
merged 10 commits into from
Oct 20, 2021

Conversation

roiLeo
Copy link
Contributor

@roiLeo roiLeo commented Oct 19, 2021

#819 related

Orientation is quicker without el.onLeave()
Binding Event on window instead of element

all credit goes to prachi00

@yangwao
Copy link
Member

yangwao commented Oct 19, 2021

What's that for?

@roiLeo
Copy link
Contributor Author

roiLeo commented Oct 20, 2021

What's that for?

Testing purpose.

What changed

  • Perspective works on full window like in codepen example.
  • Fixed orientation speed on desktop, see preview.

@yangwao
Copy link
Member

yangwao commented Oct 20, 2021

So we can merge it?

@roiLeo
Copy link
Contributor Author

roiLeo commented Oct 20, 2021

So we can merge it?

I think so, if preview is ok.
Note: currently, we cannot disable motion on GalleryItem

@yangwao yangwao mentioned this pull request Oct 20, 2021
@yangwao
Copy link
Member

yangwao commented Oct 20, 2021

wow! let it fly

@yangwao yangwao merged commit 428c00d into kodadot:main Oct 20, 2021
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

Successfully merging this pull request may close these issues.

3 participants