Flipboard / Flipboard/react-canvas

support event bubble in react-canvas?

Open
#105 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.2k
Forks
909
PR merge metrics
No merged PRs in 30d

Description

It seems the react canvas implementation does not support event bubble for layers? When I add a touch event on sub layer under ListView layer, the original scroll behavior seems gone. It seems the `hitTest` returns only the most accurate sub layer.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the touch interaction with a sublayer inside a ListView, then trace the canvas hitTest path to understand why only the most accurate sublayer is returned. The fix is done when event bubbling is supported and the ListView's original scroll behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.