Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroller not working #797

Open
curtisjhu opened this issue Dec 30, 2022 · 0 comments
Open

Scroller not working #797

curtisjhu opened this issue Dec 30, 2022 · 0 comments

Comments

@curtisjhu
Copy link

Describe the bug
Hi! just recently trying out the idyll framework. The [Scroller]...[/Scroller] components do not display the inner 'text-containers' nor the graphic component. It's just empty.

To Reproduce
Steps to reproduce the behavior:

  1. Use idyll create cli command to create a 'scrollytelling' project
  2. run with 'idyll'
  3. Errors: The scroller components are empty.

Expected behavior
Expected text or a graphics, anything. It's just blank space

Screenshots
Screen Shot 2022-12-30 at 10 22 30 AM

Desktop (please complete the following information):

  • macOS Monteray 12.5
  • chrome

Additional context

I've followed the docs closely. I also tried looking at other people's projects that use scroller. As I look into idyll-components/src/scroller.js line 167 seems to return an empty list of child elements. It looks like the filter function is returning false everytime because c.type.name is usually 'x'. Does anyone know why the c.type.name is x? Where is it creating react elements that are of x type?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant