Checkbox not updating on click before unload

Created on 27 January 2023, over 1 year ago
Updated 24 March 2024, 3 months ago

Problem/Motivation

When you click on a facet of type checkbox, the checked tick doesn't show before page unload. It shows correctly after page loads again. This happens because the beforeunload function clears the checkbox tick.

Steps to reproduce

In a website using a facet of type checkbox, click on any of the options. The checkbox won't update until the page loads again.

Proposed resolution

Update the facet link (a) with the 'is-active' class when the facet change event is triggered to avoid the beforeunload clearing it.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia sebasgd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024