SSENSE/vue-carousel

Feature: Emit Resize Event

Open

#417 创建于 2019年4月7日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (513 fork)batch import
featuregood first issuehelp wanted

仓库指标

Star
 (1,705 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南