SSENSE/vue-carousel

Feature Request: centralize detection of window features

开放

#333 创建于 2018年11月29日

 (3 条评论) (1 个反应) (0 位负责人)JavaScript (513 个派生)batch import
featuregood first issuehelp wanted

仓库指标

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

描述

Is your feature request related to a problem? I'm implementing a long Form with a carousel slides separate groups of inputs. I have an issue disabling the mouseDrag prop whenever the user focus on an imput and allowing it again onBlur.

It seems that this prop only configure the eventListeners on init, but doesn't change whenever the input does.

Describe the solution you'd like MouseDrag & TouchDrag to be able to change on the go.

If any, describe the alternatives you've considered I thought about disabling pointer-events: none; with css but then everything inside the form is useless.

Teachability, Documentation, Adoption, Migration Strategy Well, developers will be able to change the prop according to events other thant the initialization of the component.

贡献者指南