Ian Gilman
Ian Gilman
@amudhanj26 You're welcome to take a look, but you might consider working on one issue at a time!
Sounds like a timing issue. Ideally you would wait until the viewer is finished opening before closing or destroying it. To make your code more reliable, use `viewer.addHandler('open', function() {...
Interesting. Have you tried the `addHandler` approach?
And I assume the `addHandler` approach didn't fix the issue. But the random number is fixing it? Very odd. I'm not sure what's going on here. Would you like to...
@wisamaburas Sure, you're welcome to it! It's a timing bug, so it might be a little tricky. My recommendation is to try the repro at the top of the issue...
There has been talk about adding more comprehensive keyboard shortcut customization but so far no one has built it, so yeah, what you wrote is a good solution.
@pearcetm Sounds good... Do you want to add it?
Looks great, thank you!
Wow, that is strange. The codepen and the homepage sure looks like the same code! Even the div size is the same. I have no idea why they would be...
@GenieTim Oh, good point! Glad you caught that. Would you be up for testing with https://github.com/openseadragon/openseadragon/pull/2614 and/or https://github.com/openseadragon/openseadragon/pull/2668 to see if they address the problem?