Skip to content

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

@five1

Description

@five1
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues that are bugs within Inkline.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions