https://bugzilla.wikimedia.org/show_bug.cgi?id=50851
Web browser: ---
Bug ID: 50851
Summary: guider shows pointing arrow when attachTo element
isn't present
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: GuidedTour
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
If a tour definition step has
attachTo: '.NoSuchSelector',
and the attachTo element isn't on the page, the tour is positioned in the
center of the window (fine), but the guider still shows the position triangle
pointing to the non-existent element. I think the problem is the missing
attachTo only affects the CSS returned by _getAttachCss(), it should also
affect the later _styleArrow() and also maybe the flip behavior.
One workaround is for JS code to detect if the element is not present and
modify the tour to either skip the step or not set position; another is to use
the failStep property.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l