Problem/Motivation

If you scroll the page on small screens, open responsive navigation and then click on close navigation button the browser will scroll page to the top. Same does not happen if you click outside of responsive navigation, scroll will not be triggered on close. This should be fixed, we should not trigger scrolling on navigation close button.

As a bonus, we should detect clicking on anchor links in responsive navigation and after scroll close navigation.

Comments

pivica created an issue. See original summary.

pivica’s picture

Status: Active » Needs review
Issue tags: +next-release
StatusFileSize
new618 bytes

Here is a patch that fixes this.

  • pivica committed 434ecc8 on 8.x-1.x
    Issue #3110099 by pivica: Closing responsive menu should not trigger...
pivica’s picture

Status: Needs review » Fixed
Issue tags: -next-release

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.