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

[BUG] Event timing on function event page #2516

Open
1 task done
DamonU2 opened this issue Sep 26, 2024 · 0 comments
Open
1 task done

[BUG] Event timing on function event page #2516

DamonU2 opened this issue Sep 26, 2024 · 0 comments

Comments

@DamonU2
Copy link
Member

DamonU2 commented Sep 26, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On the demo-function-event page, not all events are being registered. It seems if there is an issue with timing in the script some of the listeners fail. If this error occurs: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'onIndividualLayerLoaded')
at demo-function-event.html:31:68
at app.tsx:238:13
Many of the listeners will not work.

Expected Behavior

All listeners should function properly

Steps To Reproduce

Go to https://canadian-geospatial-platform.github.io/geoview/public/demo-function-event.html
Check notifications - should have 32 (I think)
Refresh the page a few times and check notifiactions

Anything else?

No response

@jolevesq jolevesq changed the title [BUG] <title> Event timing on function event page [BUG] Event timing on function event page Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants