Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dialog configurable target #17588

Open
moom-en opened this issue Oct 19, 2024 · 2 comments
Open

dialog configurable target #17588

moom-en opened this issue Oct 19, 2024 · 2 comments
Labels
area/components area/plugins flavour/vite-plugin Bugs related to Vite usage with Quasar kind/docs 📄 Qv2 🔝 Quasar v2 issues

Comments

@moom-en
Copy link

moom-en commented Oct 19, 2024

Description

Can you add a target attribute to the dialog to configure it to be mounted under the target dom. By default, it is still mounted under the body. Configuring this attribute can be mounted under the specified element dom.
target: Boolean | String | Element

Documentation Section URL

No response

Flavour

Vite Plugin (@quasar/vite-plugin)

Areas

Components (quasar), Plugins (quasar)

@moom-en moom-en added kind/docs 📄 Qv2 🔝 Quasar v2 issues labels Oct 19, 2024
@github-actions github-actions bot added area/components area/plugins flavour/vite-plugin Bugs related to Vite usage with Quasar labels Oct 19, 2024
@rstoenescu
Copy link
Member

Hi,

Can you give an example of use-case for this feature? It's being mounted under body for a reason.

@moom-en
Copy link
Author

moom-en commented Oct 21, 2024

Hi,

Can you give an example of use-case for this feature? It's being mounted under body for a reason. It's installed below body for a reason.

@rstoenescu For example, in a single vue page, there are three QTab interfaces. At this time, I am writing a resume through the dialog. At the same time, I want to refer to the content in other tabs. Since the dialog is in the body, in this scenario This effect cannot be achieved by.
When you open a dialog in a Vue single page, you can view or edit the content in the dialog. You can also switch to other pages (such as through tab switching) to operate other content and then return to the page where the dialog is opened to continue the operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components area/plugins flavour/vite-plugin Bugs related to Vite usage with Quasar kind/docs 📄 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants