SSENSE/vue-carousel

Feature: Emit Resize Event

Open

#417 opened on Apr 7, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (1,705 stars) (513 forks)batch import
featuregood first issuehelp wanted

Description

Current Behavior I'm currently running into an issue where I need the carousel to be an absolutely positioned element and need the carousel's height to position it between elements. I currently cannot accurately determine it's height since the carousel also recalculates its width and height on window resize.

Possible Solution A solution to resolve this would be to emit a resize event after the carousel height and width calculations on the onResize function.

Contributor guide