Skip to content

Conversation

averyjohnston
Copy link
Contributor

@averyjohnston averyjohnston commented Oct 18, 2023

Issue number: Internal


What is the current behavior?

When calculating the fab's horizontal position, the safe area is taken into account. However, which safe area side is applied changes depending on whether the document's direction is LTR or RTL. This is incorrect as the left safe area padding will always be on the left side regardless of direction, and vice versa.

What is the new behavior?

The left safe area is always applied to the fab's left position, and vice versa.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions bot added the package: core @ionic/core package label Oct 18, 2023
@averyjohnston averyjohnston marked this pull request as ready for review October 19, 2023 17:04
@averyjohnston averyjohnston requested review from a team and thetaPC and removed request for a team October 19, 2023 17:05
@averyjohnston averyjohnston added this pull request to the merge queue Oct 20, 2023
Merged via the queue into main with commit 331c08a Oct 20, 2023
@averyjohnston averyjohnston deleted the FW-5177 branch October 20, 2023 15:30
sean-perkins pushed a commit that referenced this pull request Oct 27, 2023
… direction (#28377)

Issue number: Internal

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

When calculating the fab's horizontal position, the safe area is taken
into account. However, which safe area side is applied changes depending
on whether the document's direction is LTR or RTL. This is incorrect as
the left safe area padding will always be on the left side regardless of
direction, and vice versa.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

The left safe area is always applied to the fab's `left` position, and
vice versa.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this introduces a breaking change, please describe the impact
and migration path for existing applications below. -->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->

---------

Co-authored-by: ionitron <hi@ionicframework.com>
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.

3 participants