Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix open/close event emitting in Safari #7551

Merged

Conversation

jcfranco
Copy link
Member

@jcfranco jcfranco commented Aug 18, 2023

Related Issue: #7549

Summary

This updates how onToggleOpenCloseComponent determines the duration for the openTransitionProp to be more robust to work consistently across browsers.

The previous approach relied on the computed transition property having all associated transition values laid out per prop, which didn't work in Safari since it won't include all values if shared.

This change should be covered by existing tests.

cc @Elijbet

@jcfranco jcfranco requested a review from a team as a code owner August 18, 2023 19:12
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Aug 18, 2023
@jcfranco jcfranco added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Aug 18, 2023
Copy link
Contributor

@anveshmekala anveshmekala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@jcfranco jcfranco added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Aug 18, 2023
@jcfranco jcfranco merged commit a68b053 into main Aug 18, 2023
@jcfranco jcfranco deleted the jcfranco/7549-fix-open-close-timing-issue-affecting-safari branch August 18, 2023 20:13
@github-actions github-actions bot added this to the 1.6.1 Maintenance Release milestone Aug 18, 2023
benelan pushed a commit that referenced this pull request Aug 18, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>@esri/calcite-components: 1.6.1</summary>

##
[1.6.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@1.6.0...@esri/calcite-components@1.6.1)
(2023-08-18)


### Bug Fixes

* **action-bar:** Restore "bottom-actions" slot functionality.
([#7535](#7535))
([3aa9afa](3aa9afa))
* Fix open/close event emitting in Safari
([#7551](#7551))
([a68b053](a68b053))
</details>

<details><summary>@esri/calcite-components-react: 1.6.1</summary>

##
[1.6.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@1.6.0...@esri/calcite-components-react@1.6.1)
(2023-08-18)


### Miscellaneous Chores

* **@esri/calcite-components-react:** Synchronize undefined versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^1.6.1-next.2 to ^1.6.1
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
benelan added a commit that referenced this pull request Aug 21, 2023
* origin/main:
  build(deps): update dependency autoprefixer to v10.4.15 (#7543)
  build(deps): update dependency postcss to v8.4.28 (#7544)
  chore: release main (#7539)
  chore: release next
  fix: fix open/close event emitting in Safari (#7551)
  chore(linting): set up spelling linting (#7389)
  chore(linting): enable one-var rule (#7528)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants