Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: movable-view 支持 tap、longpress 事件 #1770

Merged
merged 14 commits into from
Jan 3, 2025
Merged

Conversation

yandadaFreedom
Copy link
Collaborator

No description provided.

const layoutStyle = !hasLayoutRef.current && hasSelfPercent ? HIDDEN_STYLE : {}

// bind 相关 touch 事件直接由 gesture 触发,无须重复挂载
// catch 相关 touch 事件需要重写并通过 useInnerProps 注入阻止冒泡逻辑
const filterProps = omit(props, [
Copy link
Collaborator

Choose a reason for hiding this comment

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

catch的也需要过滤掉吧

@hiyuki hiyuki merged commit e73103e into master Jan 3, 2025
6 checks passed
@hiyuki hiyuki deleted the feat-movable-event-v4 branch January 3, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants