Skip to content

Template Animations: Added zoom and fade animations#962

Merged
BrittanyIRL merged 1 commit intomasterfrom
feature/simple-animations
Apr 7, 2020
Merged

Template Animations: Added zoom and fade animations#962
BrittanyIRL merged 1 commit intomasterfrom
feature/simple-animations

Conversation

@mariano-formidable
Copy link
Copy Markdown
Contributor

The PR adds in zoom and fade animations. It also re-introduces the idea of letting our animations have container divs if need be (I needed it for zoom).

Zoom in:
zoom-in

Zoom out:
zoom-out

Fade out:
fade-out

Fade in:
fade-in

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2020

Size Change: 0 B

Total Size: 513 kB

ℹ️ View Unchanged
Filename Size Change
assets/css/edit-story.css 3.01 kB 0 B
assets/css/stories-dashboard.css 206 B 0 B
assets/js/edit-story.js 440 kB 0 B
assets/js/stories-dashboard.js 69.3 kB 0 B

compressed-size-action

return useContainer ? (
<div
style={{
clipPath: 'inset(0)',
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The use of clipPath here is simply clipping the container similar to adding overflow: hidden.

@mariano-formidable mariano-formidable self-assigned this Apr 2, 2020
@mariano-formidable mariano-formidable linked an issue Apr 2, 2020 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@BrittanyIRL BrittanyIRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This zoom animation is tight!
LGTM, works great. 👍

@BrittanyIRL BrittanyIRL merged commit 4ad5ebe into master Apr 7, 2020
@BrittanyIRL BrittanyIRL deleted the feature/simple-animations branch April 7, 2020 17:48
@swissspidy swissspidy added Group: Dashboard Type: Enhancement New feature or improvement of an existing feature labels Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Group: Dashboard Type: Enhancement New feature or improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Basic Template Animations

4 participants