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(calls): media settings tabs animation #14346

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Feb 11, 2025

☑️ Resolves

Tab switch animation only worked when tabs were initially closed because the animation used to activate only after tabs are open via enabkleTransition.

Initial value of enableTransition should have been defined by the isOpen state.

However, enableTransition controlling animation isn't needed at all. After the component got active prop controlling the state and the presence of the transition value.

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

🏚️ Before 🏡 After
before after

🏁 Checklist

  • 🌏 Tested with different browsers / clients:
    • Chromium (Chrome / Edge / Opera / Brave)
    • Firefox
    • Safari
    • Talk Desktop
    • Not risky to browser differences / client
  • 🖌️ Design was reviewed, approved or inspired by the design team
  • ⛑️ Tests are included or not possible
  • 📗 User documentation in https://github.com/nextcloud/documentation/tree/master/user_manual/talk has been updated or is not required

Tab switch animation only worked when tabs were initially closed, because the animation used to activate only after tabs are open via `enabkleTransition`.

Initial value of `enableTransition` should have been defined by the `isOpen` state.

However, `enableTransition` controlling animation isn't needed at all. After the component got `active` prop controlling the state and the presence of the `transition` value.

Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme added this to the 🪺 Next Major (32) milestone Feb 11, 2025
@ShGKme ShGKme requested a review from Antreesy February 11, 2025 13:22
@ShGKme ShGKme self-assigned this Feb 11, 2025
@ShGKme
Copy link
Contributor Author

ShGKme commented Feb 11, 2025

/backport to stable31

@ShGKme
Copy link
Contributor Author

ShGKme commented Feb 11, 2025

/backport to stable30

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Tested (Chrome, Firefox, initially open, initially closed)

@ShGKme ShGKme merged commit 13776f6 into main Feb 11, 2025
53 checks passed
@ShGKme ShGKme deleted the fix/media-settings-tab-animation branch February 11, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants