Closed ashleyryan closed 2 years ago
:tada: This issue has been resolved in version 6.1.2 :tada:
The release is available on:
v6.1.2
Your semantic-release bot :package::rocket:
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.
Describe the bug
After the last release, related to PR #130, when set with
disabled={false}
, testing-library unit tests will fail if they haveexpect(pagination button).not.toBeDisabled()
How to reproduce
https://github.com/vmware-clarity/core/compare/main...ashleyryan:core:asryan/pagination-test
Steps to reproduce the behavior:
Expected behavior
The test should pass because the button is not disabled, but it's being rendered with
disabled="false"
. This started happening after #130 with the change of the disabled attribute in the base button from a simple property to a getter/setter. Lit has a fix for this in the latest version of @lit-labs/reactVersions
Clarity project:
Clarity version:
Framework:
Framework version: ie: Angular 11
Device:
Additional notes
Add any other notes about the problem here.