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(sheet): change default visibility to original footer when expandToScroll is false #30310

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kumibrr
Copy link
Contributor

@kumibrr kumibrr commented Mar 26, 2025

Issue number: #30315


What is the current behavior?

When expandToScroll = false, the original footer is swapped by a cloned one to avoid animation issues.
But if the original footer has some eventListeners, they won't work on the cloned footer.

What is the new behavior?

Footer visibility is the original by default, and the visibility will swap to the cloned one when the animation starts, and will be swapped back to the original when the animation ends

Does this introduce a breaking change?

  • Yes
  • No

Other information

Before After
Screen.Recording.2025-03-26.at.19.13.47.mov
Screen.Recording.2025-03-26.at.19.14.32.mov

EDIT: The button in the videos "jump" from left to right, this is caused by another issue I discovered yesterday (stylesheets not being applied), but it's quite tricky to solve. I've opened an issue for that #30312

@kumibrr kumibrr requested a review from a team as a code owner March 26, 2025 18:17
@kumibrr kumibrr requested a review from brandyscarney March 26, 2025 18:17
Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 6:19pm

@github-actions github-actions bot added the package: core @ionic/core package label Mar 26, 2025
@kumibrr kumibrr changed the title fix(sheet): change visibility to original footer when expandToScroll is false fix(sheet): change default visibility to original footer when expandToScroll is false Mar 26, 2025
@thetaPC
Copy link
Contributor

thetaPC commented Mar 26, 2025

Thank you for submitting the PR! However, we require issues to be submitted first and then tied to the PR for us to proceed with reviewing.

@kumibrr
Copy link
Contributor Author

kumibrr commented Mar 26, 2025

Thank you for submitting the PR! However, we require issues to be submitted first and then tied to the PR for us to proceed with reviewing.

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants