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

Hoverservice has it's own contextview instance #206151

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

benibenj
Copy link
Contributor

This allows features such as breadcrumbs to work

@benibenj benibenj self-assigned this Feb 24, 2024
@benibenj benibenj enabled auto-merge (squash) February 24, 2024 08:20
@benibenj benibenj added this to the March 2024 milestone Feb 24, 2024
Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a high level, can we now enable custom hovers for controls that are inside a context view, such as the zoom control?

@Eude1

This comment was marked as spam.

@benibenj
Copy link
Contributor Author

@bpasero

On a high level, can we now enable custom hovers for controls that are inside a context view, such as the zoom control?

Yes and no. It will work if you open a context view (using context view service) and then have a hover in that context view which uses the hover service. For example breadcrumbs context view. The Zoom control is a hover and so this would not work.

I had a quick go at implementing a hover stack, supporting hovers in hovers in hovers ... However, this is rather complicated to get working well with the current implementation of hovers and so would take a while to properly design if needed.

@benibenj benibenj merged commit 2c045ae into main Feb 26, 2024
7 checks passed
@benibenj benibenj deleted the benibenj/good-eagle branch February 26, 2024 10:33
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants