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

portal: add support for .closest modifier #1429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ged-odoo
Copy link
Contributor

@ged-odoo ged-odoo commented May 8, 2023

No description provided.

It is sometimes useful in practice to be able to configure the portal so
that it looks for a target as close as possible as the portal location.
For example, in odoo, a portal may be set up in a form view that should
target the current form view. But if the form view itself is in a
dialog, it may fail, because it may find a valid target in the form view that is located
underneath.

With this commit, we add a .closest modifier to the `t-portal`
directive.
@ged-odoo ged-odoo force-pushed the issue-1428-t-portal-closest branch from b1d22bb to 0a5a1e6 Compare May 8, 2023 10:01
@ged-odoo ged-odoo changed the title wip portal: add support for .closest modifier May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant