vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.59k stars 2.08k forks source link

fix(core): mobile menu not closing and isMobile state not always being correct #6743

Open nentor opened 2 years ago

nentor commented 2 years ago

Description

This PR fixes a bug where the mobile menu wouldn't close upon route transition. It also fixes a bug where the "isMobile" state of the AppHeader component was not always correct.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots:

Types of changes

Checklist:

Changelog

Tests

Code standards

Docs