webstudio-is / webstudio

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
https://webstudio.is
GNU Affero General Public License v3.0
5.3k stars 638 forks source link

Remaining CssValueInput todos #333

Closed kof closed 2 years ago

kof commented 2 years ago

https://user-images.githubusercontent.com/52824/195978905-bc14d810-3638-4711-a0fa-0f15bc61677a.mp4

taylornowotny commented 2 years ago

There's one UX pattern I'm not sure about that I would like to discuss. When scrubbing, if the cursor is dragged away from the input field, the cursor will jump back to the input when the click is released.

This doesn't feel right to me, but figma also does it this way. I'm curious to know what others think. In my view, it's never a good idea to take control of the cursor position from the user. It feels wrong, like if your own hand suddenly moved position in space without you moving it.

That's all subjective though - what do others think?

https://user-images.githubusercontent.com/86495896/196234290-206dc1c1-9787-4c6a-aec4-2473f6dfad74.mov

kof commented 2 years ago

@taylornowotny that's basically web platform limitation, when you do mouseup, we show you your actual cursor, its where it has always been. While you are dragging we hide the real cursor and show you a fake one. This is how we can go over the window edge and come out on the other side.

This is not fixable.

taylornowotny commented 2 years ago

@taylornowotny that's basically web platform limitation, when you do mouseup, we show you your actual cursor, its where it has always been. While you are dragging we hide the real cursor and show you a fake one. This is how we can go over the window edge and come out on the other side.

This is not fixable.

Understood! All good then. Users who are accustomed to the figma behavior may expect it to work this way anyhow

taylornowotny commented 2 years ago

Just a few remaining issues before it's perfect!

ghost commented 2 years ago

For prosperity there's also this issue I found while working on the others.

Video attached:

https://user-images.githubusercontent.com/105234327/197590028-7c280cb3-0eaf-4e94-8f49-fd27ba5aeae2.mp4

kof commented 2 years ago

was done, right?