Documentation app navigation problems on computers with touch screens
Click navigation between pages on the Saxon 9.7 documentation app (i.e. interactive XML documentation app using Saxon-CE) does not work on computers that have touch screens. Clicking links with mouse clicks will not work, but screen touches will work. The design of the app stylesheets assumes that only one of the events is possible: mouse clicks or touch events.
This is the same problem with the design of the app's stylesheets as noted (and fixed) for the the Saxon-JS documentation (https://saxonica.plan.io/issues/3036).
#1 Updated by Debbie Lockett over 2 years ago
- Status changed from New to Resolved
- Applies to branch 9.8 added
- Fix Committed on Branch 9.7, 9.8 added
Updated the design of the documentation app, to remove the difference for touch and click events.
The previous app design assumed that devices only used one or the other type of event, with separate (but very similar) event handling templates for the different cases (with mode="ixsl:onclick" and mode="ixsl:ontouchend"). The "onclick" templates were then disabled for a device which allowed touches.
In the redesign, we no longer need separate templates specifically for touch events. It is now standard for touch events to trigger click events (if they are not cancelled during an interaction, e.g. by moving the touch), so the click event handling templates are sufficient. (I guess this was not the case previously, when the Saxon-CE documentation app was originally designed.)
Specifically, the use of the $usesclick variable defined in viewer_app/xsl/cetree.xsl has been removed, and the "ixsl:ontouchend" templates removed.
9.7 online documentation app updated. Changes committed for the 9.7 and 9.8 dev branches. (Perhaps the older 9.6, 9.5, and 9.4 documentation apps online should likewise be updated, but I have not done this at present.)
Please register to edit this issue