Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
16.98k stars 1.86k forks source link

Have part or dialog centered to the element clicked #2293

Open FlorianJacta opened 2 days ago

FlorianJacta commented 2 days ago

Description

Here, I have clicked on an icon and I have a dropdown menu of labels next to where I clicked: image

Here, I have clicked on icon and I see a dialog/part showing up next to where I clicked:

image

I want to do that generically to put anything in this part. If I click somewhere else, this dialog should disappear.

Acceptance Criteria

Code of Conduct

FredLL-Avaiga commented 2 days ago

it'a dialog then But you want to position it relatively to another component. Would it be acceptable to provide the id of the other component ? (would need to be defined in the other comp and dynamically in the dialog)

jrobinAV commented 2 days ago

This relates slightly to another issue: #2252. By the way, a contributor has proposed to help with it.