-
Notifications
You must be signed in to change notification settings - Fork 659
Fullscreen div: Parent of hopscotch other than the body #206
Comments
(Duplicates #197) We have a PR for this functionality, but we're generally wary of new configuration options. That said, I see this as a compelling reason to support this. I'll tag this as a core enhancement. @kate2753: Can we think of any way to support this that isn't "yet another core configuration option"? |
Ah! And I checked - but I probably I checked on issues and not on PR. The #197 is a different use case but it actually requires the same functionality so yes this is a duplicate. I will try to merge it and report back in #197. As for the configuration option - I don't think that can be done reasonably without one. The only question is if it should be global or per tour. I vote for per tour... |
We are allowing users to specify the target of the callout, as well as provide getTarget function implementation. Support for targeting various elements on the page would be more complete if we allowed users to specify the parent element of the callout. I can't think of a way to support this without adding a new config option. We are deprecating several presentation config options in 0.3.0 release (#144). So the number of config options should still be reasonable. Few issues that we might run into with this is - scrolling callout into the view and css styles applying cleanly to the callout. Having callout nested within other elements of the page may case some very broad app specific css rules to apply to the callout. We need to brainstorm on how we can mitigate that. |
I can understand that there are several issues regarding the implementation About the css pollution:
About the scrolling into view you are of course right but at least it is an thanks for considering the feature. Vassilis On Mon, Oct 5, 2015 at 9:38 PM, Kate Odnous [email protected]
Vassilis Virvilis |
Hi,
This is an enhancement request and not a bug report. Please let me know if I should post this to a more appropriate forum.
I have a HTML widget that can go fullscreen such as the video widget. The widget employs some hopscotch tours that are not visible in fullscreen mode since only the direct elements of the fullscreen div are visible.
The perfect enhancement would be to be able to specify per tour the parent of the hopscotch dialog
The second option (not so cool but I could live with) would be able to specify the parent at the global Hopscotch level for all tours in the page.
Thanks for your work in Hopscotch.
Vassilis Virvilis
The text was updated successfully, but these errors were encountered: