Closed Komediruzecki closed 2 years ago
Let's change a bit more. For the url, users need to click the url text to navigate.
Users should click the red area to navigate to the url. If users click other than this area, including padding and the pencil icon, edit mode should be activated.
Yes, thought about it as well, will do.
Let's change a bit more. For the url, users need to click the url text to navigate.
Users should click the red area to navigate to the url. If users click other than this area, including padding and the pencil icon, edit mode should be activated.
Yes, thought about it as well, will do.
@Rokt33r Added the change, its a bit of a hack since the property button is the parent of this element, so it's not easy to make it clickable to edit but also prevent opening URL, and otherwise impossible to put it outside of the property button, but preventing the clicking of URL.
So I've put it absolutely positioned on top, seems to be working nicely.
I've noticed that the link is being opened twice actually (not sure why), and if it's a known issue, it happens on Ubuntu.
Add open selector when URL is empty or invalid
Showcase:
https://user-images.githubusercontent.com/18196945/159187026-3aa25154-2238-45ad-88ab-5c00b6221f4e.mp4