Create-react-native-app: Unclear how to scroll the list of examples

Created on 22 May 2020  Â·  7Comments  Â·  Source: expo/create-react-native-app

Describe the bug

When choosing a template, I couldn't find a way to scroll the list of templates past the page 1 out of 3.

To Reproduce
Steps to reproduce the behavior:

  1. Run npx create-react-native-app
  2. How would you like to start: Choose › Template from expo/examples
  3. Pick an example: you see 10 template names, and can move between them with up/down arrow keys, but the remaining 18 are hidden. Scrolling to the end of the list doesn't reveal more. Also tried left/right, PgDn.

Expected behavior

Allow seeing all templates or at least no "Page 1/3" shown if there are no more pages to see.

Screenshots

Screen Shot 2020-05-22 at 15 21 04

Desktop (please complete the following information):

  • macOS 10.15.4
  • Terminal.app
bug

All 7 comments

Noticed the same but figured out that fn + â–¼ (page down) worked for me (Mac OS)

tab also works

@brentvatne I have fix scroll in the list of examples. now users can scroll by arrow keys. you can review my PR #846

I think this is resolved in prompts itself now, starting from version 2.3.0 (https://github.com/terkelg/prompts/pull/230) cc @fson

Screenshot 2020-08-12 at 4 47 59 PM
@byCedric it was merge 7 Nov 2019 and not resolved. user have to go to next page by tab or fn + â–¼. but in my pull request #846 i have patched. now user can scroll by arrow keys simple.

@nomi9995 yes, but why don't we use that version 2.3.2 in our project instead of creating (and maintaining) a patch on our own? 😄 It works pretty good with [email protected], I added a gif of what's happening with this update. I didn't change anything else, and it works by just using the arrow keys (no function keys)

Screen Recording 2020-08-12 at 14 09 00

yeah, you are right. I also tested 2.3.2 but I don't know why it did not work on my side 😄

Was this page helpful?
0 / 5 - 0 ratings

Related issues

liujb picture liujb  Â·  5Comments

anp picture anp  Â·  3Comments

FezVrasta picture FezVrasta  Â·  3Comments

ArashMotamedi picture ArashMotamedi  Â·  3Comments

THPubs picture THPubs  Â·  4Comments