-
Notifications
You must be signed in to change notification settings - Fork 719
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
Brush interaction not working on mobile #845
Comments
Hey @BrianRosamilia thanks for the bug report 🙏 I think this is simply an oversight with Would happily review a PR if you want to take a shot! |
Can you (or someone) help me build the brush and its dependencies? Interestingly, the build for the brush points at the lib folder of https://github.com/airbnb/visx/blob/master/packages/visx-brush/src/BaseBrush.tsx#L4 Feel free to just show me a bash script to build brush & its dependencies properly, I'm guessing this has been solved before! Edit: you can just use |
@BrianRosamilia did you make any progress with this? also came here because I noticed that the brush is broken on mobile :/ edit: Sorry totally missed your pull request 🤦 ... anyway, is there a chance that this gets a review (and merge) soon? |
@williaster (quick FYI as I was perusing the open bugs again) - I believe this issue can be immediately closed, since #1155 was merged. |
Has this issue actually been fixed? I tried it on my mobile now (Android) and it isn't working. |
I just played with it on mobile/android also, the brush moves but it's not a smooth experience/you can't really get it to do what you want. so looks like there's maybe some more validation/improvements that need to be made for that case. |
Yep found a couple of refs that still have e.g., visx/packages/visx-brush/src/BrushCorner.tsx Line 163 in 29068ac
|
closed by #1286 |
@williaster are you sure this is fixed? |
yeppp, still not working I agree 🤦 |
Any progress? |
Would love to renew this issue. It was an assumption of mine that this would work on mobile. Happy to put in some work if anyone knows the clear fix, or to spend some time identifying it. |
Given that everything is mobile-first nowadays, it's a pity this issue hasn't been addressed yet. Could this be prioritized, please? |
updates? |
Upd. I just have made a build with the original Visx and the brush is working on mobile. So my PR is probably unnecessary. There were a couple more explicit |
not sure what you did to make it work on mobile, with the latest version, for me, it still does not work |
👋 @williaster WDYT of #1874? It’d be great to see something like that released to improve brush UX on touch devices. Not sure if there is an alternative until this issue is fixed, unless implementing Brush from scratch locally. That’d be quite laborious and error prone. |
(Enjoying the library, thanks for making it available)
I noticed the brush doesn't work with touch interactivity on mobile. Example here: https://vx-demo.now.sh/brush
After digging into the code a bit, I noticed that mobile events don't seem to be wired up for the
Drag
component. Shouldn't drag include touch and touchmove the same way as mouse and mousemove?https://github.com/airbnb/visx/blob/master/packages/visx-drag/src/Drag.tsx#L121-L122
I could give it a shot if this is unintended and no one has time to look into it or is currently doing so. Lmk
The text was updated successfully, but these errors were encountered: