Skip to content

Vertical divider is missing between the clearable icon and the input text for right-to-left locales #386

@five1

Description

@five1
  • What is the expected and current behavior?
    When rendering the Inkline input component for left-to-right locales there is a vertical divider between the typed text and the clearable icon. The divider is missing when the locale is set to a right-to-left language (eg Arabic (ar)).

  • 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">
  • 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