Skip to content

fix(footer): Remove Toolbar padding if in Tabs (bottom) or Keyboard opened #23193

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

Closed
wants to merge 52 commits into from
Closed

fix(footer): Remove Toolbar padding if in Tabs (bottom) or Keyboard opened #23193

wants to merge 52 commits into from

Conversation

EinfachHans
Copy link
Contributor

closes #17560

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Currently the Ion Footer Elements always adds padding-bottom: var(--ion-safe-area-bottom, 0); to the last Ion Toolbar.

Issue Number: #17560

What is the new behavior?

The Style is not applied if:

  • The Keyboard is open (See comment)
  • The Footer is in a <ion-tabs> Element with an at the bottom placed <ion-tab-bar>

Does this introduce a breaking change?

  • Yes
  • No

@github-actions github-actions bot added the package: core @ionic/core package label Apr 15, 2021
EinfachHans and others added 23 commits September 16, 2021 09:24
# Conflicts:
#	core/src/components/footer/footer.tsx
#	core/src/components/tabs/test/basic/index.html
#	core/src/components/tabs/test/placements/index.html
@averyjohnston
Copy link
Contributor

Thanks for the PR! We greatly appreciate your work fixing this issue. Due to this PR's age, and for the sake of making tests and other adjustments easier, I've opened a fresh PR over at #25746 which leverages these changes. You'll be given co-author credit when it is merged. I'm going to close this one out in favor of the newer one, but let me know if you have any questions!

@EinfachHans EinfachHans deleted the footer-toolbar-padding branch August 10, 2022 18:06
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.

Footer toolbar should not have safe-area-inset-bottom with tab-bar active
4 participants