SSENSE/vue-carousel

Feature: Emit Resize Event

Aberta

#417 aberto em 7 de abr. de 2019

 (2 comentários) (0 reação) (0 responsável)JavaScript (513 forks)batch import
featuregood first issuehelp wanted

Métricas do repositório

Stars
 (1.705 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador