Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Mini Cart block: prerender when the user hovers the Mini Cart button, but only open when the user clicks #4600

Closed
Aljullu opened this issue Aug 18, 2021 · 0 comments · Fixed by #4608
Assignees
Labels
block: mini-cart Issues related to the Mini-Cart block. focus: FSE Work related to prepare WooCommerce for FSE.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Aug 18, 2021

In the current Mini Cart block prototype (#4510), the Mini Cart contents are displayed when the user hovers the button, but this is not the desired behavior. Instead, it should only open when the user clicks on it. However, we can take advantage of the mouseover event to start pre-rendering the contents.

@Aljullu Aljullu added focus: FSE Work related to prepare WooCommerce for FSE. block: mini-cart Issues related to the Mini-Cart block. labels Aug 18, 2021
@Aljullu Aljullu assigned Aljullu and unassigned Aljullu Aug 18, 2021
@Aljullu Aljullu self-assigned this Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: mini-cart Issues related to the Mini-Cart block. focus: FSE Work related to prepare WooCommerce for FSE.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant