Bogdan Chadkin b163fdfa76 Use floating-ui to position text toolbar (#467)
Ref https://github.com/webstudio-is/webstudio-designer/issues/107

Text toolbar is badly positioned when flipped up. Keeping it too close
to cursor makes text selection harder.

Here I replaced custom logic with computed rect from toolbar parent and
state from canvas. A few middlewares polished offsets. Flip no longer
overlap text.

Also fixed toolbar background.

Hide toolbar while selecting text with mouse.
2022-11-19 10:51:31 +03:00
2022-11-17 14:36:01 +01:00
2022-10-22 09:49:35 +02:00
2022-07-04 19:59:42 +02:00
2022-11-10 19:12:05 +04:00
2022-07-22 19:18:21 +00:00
2022-06-22 15:00:00 +02:00
2022-03-13 04:22:21 +00:00
2022-11-04 21:25:41 +01:00
2022-04-13 12:14:56 +01:00
2022-11-17 21:12:39 +01:00

Webstudio Designer

Webstudio Designer is a NoCode Visual Tool inspired by Webflow. It is the place where you can build your site or app visually.

Contributing

Don't hesitate to reach out of you have questions around contributing to the project.

Contributing guide

Community

Twitter

Discussions

Discord

Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%