Skip to content

Can't scroll on the right of the stylus when the sidebar is on the right while hovering #329

@Heiseneberg-maybe

Description

@Heiseneberg-maybe

Describe the bug
When hovering with a stylus the right side of the screen is blocked from receiving touch inputs even when the sidebar is set to be on the right side. This means that left-handed people have to use the left part of the screen to move the canvas with touch input, which is quite uncomfortable.

To Reproduce

  1. Set the sidebar to the right
  2. Write something using the left hand
  3. Scroll the canvas on the right of where you wrote(while hovering with the stylus where you finished writing)
  4. You aren't able to do 3

Expected behavior

The ideal solution would be to block the inputs from where the hand is present and add a padding to that area. For this to be possible there should be in every moment a check of where the hand is and a padding should be added to that area.
I think that this is not trivial to do and that it might add complexity to the code and on top of that it might even reduce the performance of the app. (You're developer tho so you know this better than me for sure).

The pro to having this implementation is that you could move the canvas using one of the fingers of the hand with which you're holding the stylus.

The solution that I think is more appropriate is to do the same thing as of now but mirrored when the sidebar is set to the left of the screen(supposing that only left-handed people would put the sidebar on the right and assuming that only right-handed people would put the sidebar on the left).

This means that (when the sidebar is on the right)the inputs should be blocked on the left side of the screen starting from a bit right (in order to add a padding) of the point in which the "Regular cursor" is present in the canvas.

Screenshots
Picture of what happens

Desktop (please complete the following information):
Not related to the desktop

Additional context
This bug was discovered in #313, I would really advise reading it to properly understand the scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions