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

"Note" popup displaying when tapping on item on desktop only #91

Open
binarydad opened this issue Mar 20, 2025 · 2 comments
Open

"Note" popup displaying when tapping on item on desktop only #91

binarydad opened this issue Mar 20, 2025 · 2 comments

Comments

@binarydad
Copy link

binarydad commented Mar 20, 2025

I've noticed that whenever I tap (using a laptop touchpad) on a check mark or X on Edge or Firefox, it almost always shows the "Note" popup. It does not do this on a mobile browser. My guess is there's some sensitivity level for the "hold" feature that is getting triggered for most browser click events. Also, for some reason, on my laptop touchpad, if I press 2 fingers down for a "click", it never shows the Notes popup (and properly checks/unchecks the item).

However, I've noticed it works fine when using a mouse and clicking using the left mouse button. It seems to be just when interacting with a touchpad (in my case, a Surface laptop).

It's not a blocker, just a bit annoying on desktop. Hoping this can be adjusted. Thanks!

@binarydad binarydad changed the title "Note" popup when clicking on item on desktop only "Note" popup displaying when clicking on item on desktop only Mar 20, 2025
@binarydad binarydad changed the title "Note" popup displaying when clicking on item on desktop only "Note" popup displaying when tapping on item on desktop only Mar 20, 2025
@daya0576
Copy link
Owner

Hi, thanks for reporting this issue. I tested it on Firefox on both my laptop and tablet, but can not reproduce this problem.

I guess it's a corner case compacity issue with the Surface laptop. Could you try another browser, such as Chrome?

@daya0576
Copy link
Owner

BTW, could u provide the logs of this issue for further troubleshooting? For example:

// touch action
2025-03-22 16:56:04.860 | INFO     | beaverhabits.frontend.components:_mouse_down_event:147 - Down event: 2025-03-22, touchstart
2025-03-22 16:56:04.916 | INFO     | beaverhabits.frontend.components:_mouse_up_event:168 - Up event: 2025-03-22, touchend
2025-03-22 16:56:04.918 | INFO     | beaverhabits.frontend.components:habit_tick:105 - Day 2025-03-22 ticked: True

// touch and hold (the note pop up threshold is 200ms)
2025-03-22 16:56:15.299 | INFO     | beaverhabits.frontend.components:_mouse_down_event:147 - Down event: 2025-03-22, touchstart
2025-03-22 16:56:16.049 | INFO     | beaverhabits.frontend.components:_mouse_up_event:168 - Up event: 2025-03-22, touchend

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

No branches or pull requests

2 participants