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(ui5-ai-button): reset button width after animations #9923

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hinzzx
Copy link
Contributor

@hinzzx hinzzx commented Sep 24, 2024

Previously, we had an issue where the AIButton's text was not fully visible when changing states while hidden. This was happening because the button's width was being set to 0px after the fade-out animation (since the button was hidden).

We addressed that issue by resetting the button's width style after the animations are complete, ensuring that the button has the correct width based on its state, regardless of whether it is hidden.

Fixes: #9902

@unazko unazko self-requested a review September 25, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ai-button | 2.0.1]: cannot change the button text while hidden
1 participant