Work around for common Scroll View Error

I have a page that displays a scroll view.  What I would like is for the scroll view to open an Overlay.  However, I am getting the old “attempt to index field ‘parent’ (a nil value)” error which is common if your try and navigate away from a page which has a scroll view on it which is not then removed.

I could remove the scroll view before opening the Overlay, but that would ruin the “aesthetics” of the app.  I wanted to slide the overlay beside my page whilst still displaying the data in the scroll view.

I suppose I could remove the scroll view, call the overlay and then get the overlay to reproduce the scroll view (but then what is the point of the overlay).

The alternative is that I do not use the Overlay and instead just code it within the page to make it “look” like an overlay.

Anyway, #frustrated…  Anyone have any ideas on this one?

Hi @matt405,

Can you give me a more detailed output of that error code you’re getting? Also, when exactly does it occur? Within a Composer scene? If so, what “scene event” and “phase” of the Composer structure? I may need to inspect this a little deeper to see what’s going on.

Thanks,

Brent

Hi Brent

I am still using the old storyboard.  Lots of reasons, but mainly I have not got around to re factoring all of my function code that currently references the storyboard library.

I suppose that could be an issue!

I will put together a sample project using the composer library and I will let you know if there is still an issue…

Matt

Thanks Matt,

If you can get me a more specific error message output, hopefully I can check into what’s going on.

Brent

Hi @matt405,

Can you give me a more detailed output of that error code you’re getting? Also, when exactly does it occur? Within a Composer scene? If so, what “scene event” and “phase” of the Composer structure? I may need to inspect this a little deeper to see what’s going on.

Thanks,

Brent

Hi Brent

I am still using the old storyboard.  Lots of reasons, but mainly I have not got around to re factoring all of my function code that currently references the storyboard library.

I suppose that could be an issue!

I will put together a sample project using the composer library and I will let you know if there is still an issue…

Matt

Thanks Matt,

If you can get me a more specific error message output, hopefully I can check into what’s going on.

Brent