I have a calendar in my app that can be navigated using either the dropdowns to select a month/year (which works) or the arrows to navigate forward/backward between months. When I first created this screen, clicking the arrows worked to navigate the calendar.
Now, a day later, when I click the arrows the app gets stuck on a white screen and I get the following error in the console when running the app in the browser:
TypeError: Cannot read properties of null (reading 'initialized')
at t.get (gallery.js:10:53499)
at s._scrollingWindowSize (gallery.js:10:16878)
at s.render (gallery.js:10:20007)
at ce (pa.oss.bundle2.js:299:136)
at qg (pa.oss.bundle2.js:298:440)
at hi (pa.oss.bundle2.js:305:285)
at Qg (pa.oss.bundle2.js:345:293)
at Rg (pa.oss.bundle2.js:346:168)
at Sc (pa.oss.bundle2.js:359:109)
at Z (pa.oss.bundle2.js:357:492)
Uncaught TypeError: Cannot read properties of null (reading 'initialized')
at t.get (gallery.js:10:53499)
at s._scrollingWindowSize (gallery.js:10:16878)
at s.render (gallery.js:10:20007)
at ce (pa.oss.bundle2.js:299:136)
at qg (pa.oss.bundle2.js:298:440)
at hi (pa.oss.bundle2.js:305:285)
at Qg (pa.oss.bundle2.js:345:293)
at Rg (pa.oss.bundle2.js:346:168)
at Sc (pa.oss.bundle2.js:359:109)
at Z (pa.oss.bundle2.js:357:492)
The arrows are simply setting a variable and then selecting a hidden button (visible but behind the header) to have it recalculate the data for the calendar
The dropdowns are doing almost the exact same thing OnChange, setting _dateSelected and then selecting fnc_UpdateEvents.

Report
All responses (
Answers (