Skip to content

[Ionic V4.0.0-beta.12] [ios] [ion-searchbar] showCancelButton has style issue in RTL #15884

Closed

Description

@samirebrahim

Bug Report

Ionic Info
Ionic:

ionic (Ionic CLI) : 4.1.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.12
@angular-devkit/core : 0.8.4
@angular-devkit/schematics : 0.8.4
@angular/cli : 6.2.4
@ionic/ng-toolkit : 1.0.8
@ionic/schematics-angular : 1.0.6

System
NodeJS : v10.1.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra

Describe the Bug
on [ios] RTL cancel button on searchbar dosent have padding-right
localhost_8100_home iphone 5_se 1

Additional Context
Searchbar has this styling
.searchbar-cancel-button.sc-ion-searchbar-ios { padding: 0 0 0 8px; }
Expected Behavior

When switching to RTL it should be
.searchbar-cancel-button.sc-ion-searchbar-ios { padding: 0 8px 0 0; }

Activity

  1. abennouna commented on Oct 11, 2018

    @abennouna
    Contributor

    The searchbar, as other components, has several issues in RTL. In your screenshot shows the wrong position of the search icon as well: it should be on the right side.

  2. added
    package: core
    type: bug
    and removed on Dec 7, 2018
  3. paulstelzer commented on Jan 19, 2019

    @paulstelzer
    Contributor

    I close this here because @abennouna has a nice list of RTL issues here -> #17012

  4. ionitron-bot commented on Feb 18, 2019

    @ionitron-bot

    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.

  5. locked and limited conversation to collaborators on Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: coretype: bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions