Circuitverse: Stepper does not work in Preview/Embed mode

Created on 22 Jan 2019  路  10Comments  路  Source: CircuitVerse/CircuitVerse

Steppers do not seem to be responding to keyboard events in the preview window, even thou they appear selected when you click on them.

Repro:

  • Navigate to a project that uses steppers, ex: https://circuitverse.org/users/1935/projects/5524
  • In the preview pane, click one of the steppers (in this case, one of the two squares inside the pixel art box)

    • Stepper becomes yellow, indicating it is selected.

  • Press up/down

Expected:

  • For steppers to change value, as it happens in design mode.

Actual:

  • No response from stepper.
good first issue

All 10 comments

This should be easy to fix, by adding the listeners in embedListeners.js

Hello @satu0king can I take up this issue

I have had a look at the issue(and at embed Listeners.js). I wanted to know if it is needed to have the values of the steppers changed by using +,- keys as it happens in design mode or is it needed to have their values changed using up,down keys.

The request in this case is to have the stepper work consistently in both cases. I think it is a good idea to support the arrow keys and -/+ keys as well in both cases.

is this issue still open ?

Hi @devu1999, @Ankitanvesh is working on it :)

@armudgal I already sent a pr 2 days ago fixing it

@shubhankarsharma00 Aah, didn't see that, but again please inform us before starting to work on any issue. I have mentioned this before but it becomes really difficult for us to allocate issues that way.

@Ankitanvesh please talk to @shubhankarsharma00 and figure this out. Thanks

@shubhankarsharma00 is trying to fix the original issue. Although I have been working on the issue plus the suggestion to add the arrowkeys for updating values of the steppers. I will leave it to @shubhankarsharma00 to fix the issue while I work on adding the arrowkey feature. Is it fine to continue that way @armudgal

Sure, just wait for the other PR to get merged so that there are no conflicts :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

satu0king picture satu0king  路  8Comments

1337w0rm picture 1337w0rm  路  3Comments

eKuG picture eKuG  路  7Comments

MrBartusek picture MrBartusek  路  8Comments

Amansingla97 picture Amansingla97  路  4Comments