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

bug: Item with multiple inputs including datetime renders incorrectly in RTL mode #25483

Closed
4 of 7 tasks
sean-perkins opened this issue Jun 15, 2022 · 2 comments
Closed
4 of 7 tasks
Labels
package: core @ionic/core package type: bug a confirmed bug report

Comments

@sean-perkins
Copy link
Contributor

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

Only in RTL mode, when rendering an ion-item with multiple inputs, such as a checkbox slotted to the start and end and a datetime in the primary content; will clip the datetime in RTL mode only.

Screen Shot 2022-06-15 at 7 18 44 PM

Expected Behavior

Datetime should not be clipped in RTL mode.

Screen Shot 2022-06-15 at 7 19 22 PM

Steps to Reproduce

  1. Open reproduction app
  2. Observe: ion-datetime is clipped
  3. Change dir="rtl" to dir="ltr"
  4. Wait for Stackblitz to reload
  5. Observe: Datetime is not clipped

Ignore datetime months changing rapidly within stackblitz with this bug. Due to the width of the datetime being clipped, the intersection observer can fire many times.

Code Reproduction URL

https://stackblitz.com/edit/ztbrct?file=index.html,package.json

Ionic Info

N/A

Additional Information

No response

@sean-perkins
Copy link
Contributor Author

Resolved with: #25484

Will be available in the next release of Ionic.

sean-perkins added a commit that referenced this issue Jun 17, 2022
* Revert "fix(item): multiple input appearance when using datetime (#25484)"

This reverts commit 3089f38.

* fix(item): multiple input appearance when using datetime

Resolves #25483
@ionitron-bot
Copy link

ionitron-bot bot commented Jul 16, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jul 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: bug a confirmed bug report
Projects
None yet
Development

No branches or pull requests

1 participant