Repository navigation
Replies: 2 comments 1 reply
|
The tooltip closes because of the rule draw.io uses to decide when to hide it. The desktop app itself isn't the cause. The tooltip opens with its top left corner 16 pixels below the point where the pointer stopped. Any mouse movement on the way there that lands on the empty canvas closes it. If the pointer stopped on the shape's text, moving from the text onto the rest of the shape closes it too. Once the pointer is over the tooltip, it stays open. So it only works when the whole path down to the tooltip stays on the shape, or when you move fast enough that no movement is registered in between. That's why it works now and then. Two ways around it:
Notes for maintainersCause. This is long-standing behaviour, not a regression, and there is no ChangeLog entry about it.
The tooltip div lives in Workaround offered. Notes (since 30.4.2, jgraph/drawio#1547). Related, not reported here. The pointerdown listener in Automated first response by the draw.io triage bot. |
|
That's where the note icon is meant to go. It sits just outside the shape, with its top right corner touching the shape's bottom left corner, so that it doesn't cover what's inside the shape. The tooltip and link icons sit outside the top left and top right corners in the same way. My earlier "at the bottom left corner" should have said just outside it. The icon belongs to the shape and moves with it. Click it to open the note. If the icon looks further away than that, it's lined up with the shape's bounding box, which can be bigger than what you see. A text shape whose text is shorter than its box, or an image with transparent margins, are common examples. Select the shape and the dashed selection outline shows the box the icon is placed against. On a connector, the icon appears just below and to the left of the connector's midpoint. There is no setting to move the icon. Notes for maintainersFollow-up to the note workaround. The note icon position is by design: Automated first response by the draw.io triage bot. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I created 2 links in a tooltip mouseover. But it only works sporadically, as the tooltip popup disappears as I move the cursor from the origin that contains the tooltip to the actual tooltip that contains the links. It did work a couple of times, out of dozens of attempts where the modal disappears as soon as I move the cursor to it. Windows 11, desktop app v32.6.10
All reactions