Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294802

Contextual gears do not dismiss when a UA is touch-enabled and the overlay opens

$
0
0

Problem/Motivation

When a User Agent (UA) is touch-enabled, the contextual gears are always present. Some touch-enabled UAs, like tablets, are wide enough to accomodate the overlay. Given this combo of conditions, the contextual gears never dismiss when the overlay is opened on a touche device.

Screenshot of a D8 site with the overlay open. Two contextual gears are visible over the forms elements in the overlay.

Proposed resolution

We should probably hook into the drupalOverlayBeforeLoad and the drupalOverlayClose events on document to hide the contextual gears when the overlay is open and reshow them when the overlay closes.

Remaining tasks

Propose a patch.

User interface changes

It will be improved.

API changes

None.

AttachmentSizeStatusTest resultOperations
contextual-gears-persist.png63.45 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 294802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>