Skip to content

feat(Range) : using LEFT or RIGHT keys : knob is moved, but value is not modified, the event is not fired. #13199

Closed

Description

@Titoch

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request

Current behavior:
Using keyboard keys (left arrow or right arrow) to decrease or increase the ion-range value, the knob is moved, but the value model is not modified. Also, the (ionChange) event is not fired.

Expected behavior:
Moving Knob via LEFT, UP, DOWN or RIGHT keys on keyboard should modify the value model and fire the event ionChange as the knob is moved.

Steps to reproduce:
In a WEB browser with a keyboard, move the focus to the knob's . Then press LEFT, RIGHT, UP, DOWN key to move the knob. The model value is not modified.

Related code:

Activity

  1. changed the title [-]feat(Range)[/-] [+]feat(Range) : using LEFT or RIGHT keys : knob is moved, but value is not modified, the event is not fired.[/+] on Oct 20, 2017
  2. kensodemann commented on Oct 20, 2017

    @kensodemann
    Contributor

    Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!

  3. Titoch commented on Oct 21, 2017

    @Titoch
    Author

    Hello,
    You can see the bug on the demo in ionic doc/api/components/range.

    https://ionicframework.com/docs/api/components/range/Range/

    On the displayed phone on the right (displayed as demo on large screen),
    1 => click above one of the ranges (in an empty zone) to set the focus on the phone app demo.
    2 => Press the [Tab] key 1, 2 or 3 times. One of the knobs will get the keyboard focus. You should see a selection square around a knob.
    3 => Now you can move the Knob using the keyboard arrows.
    You can see that the displayed value in the corresponding badge never changes.

    A lot of people like blind people, uses only keyboard to control applications, because they can't easily use a mouse. So this bug prevents them to use any application with Range.

  4. self-assigned this
    on Oct 21, 2017
  5. removed their assignment
    on Oct 23, 2017
  6. kensodemann commented on Oct 23, 2017

    @kensodemann
    Contributor

    Thank-you. Was able to duplicate.

  7. ionitron-bot commented on Oct 23, 2018

    @ionitron-bot

    Thanks for the issue! This issue is being closed due to inactivity. 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.

    Thank you for using Ionic!

  8. locked and limited conversation to collaborators on Oct 23, 2018
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

    No labels
    No labels

    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