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

Corner styles are not mirrored when the element order is reversed for right-to-left languages #385

Open
five1 opened this issue Sep 21, 2023 · 0 comments
Labels
bug Issues that represent a bug.

Comments

@five1
Copy link

five1 commented Sep 21, 2023

  • What is the expected and current behavior?
    When rendering the Inkline input component for left-to-right locales, as expected, there are rounded corners on the left and right sides of the component. When the language direction is changed to right-to-left there are square corners on the left and right sides. This is unexpected. Conversely, the corners of the touching sides (ie the right side of the search button and the left side of the input box) are rounded when they should be square.

  • Steps to reproduce

  1. Render an input box with the clearable property set.
<i-input v-model="value" clearable placeholder="Type something.." />
  1. Set the html dir attribute to "rtl".
<html lang="ar" dir="rtl">

i-input rtl

  • Please tell us about your environment:

    • Version: >=3.2.2
    • Browser: Microsoft Edge for Business Version 117.0.2045.31 (Official build) (64-bit), Google Chrome Version 116.0.5845.188 (Official Build) (64-bit)
    • Language: TypeScript
  • Other information
    Make sure the component rendered in the right-to-left direction is a mirror image of the component in the left-to-right direction.

@five1 five1 added the bug Issues that represent a bug. label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that represent a bug.
Projects
None yet
Development

No branches or pull requests

1 participant