-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ToC starting at the bottom of the page #388
Comments
It looks like there is a JavaScript error being triggered on the page. We will have to investigate and try to figure out why. Are you able to share or link me to the |
Of course! I just made my repo public: https://github.com/alukosdev/retypetest |
I was able to isolate the issue and it looks like it's a bug with stacking Panel components when at least one of the Panels do not have any content. The following sample will reproduce the JavaScript error: === Panel 1
One
=== Panel 2
=== If you add content to all the Panels, then no js error is throw. For example: === Panel 1
One
=== Panel 2
Two
=== If there only one Panel and no content, then Retype is working fine too: === Panel 1
=== The issue only occurs when two or more Panels are stacked and at least one of the Panels does not contain some content. Adding a regular space character to the empty will not work-around the problem as whitespace is ignore, but you can add a === Panel 1
One
=== Panel 2
=== Using a snippet of content from your ==- Application Certification
The application meets technical requirements.
==- Application Normative Framework (ANF)
==- Application Programming Interface (API)
===- I am tagging this as a defect and we try and fix right away and include in the next release of Retype. I will keep this thread updated with our progress. I apologize for the bug. We should have caught this earlier. This was a good find and thanks for bringing to our attention. |
No problem at all. I appreciate the quick response and identification of the issue. I could suggest an alternate feature for panels with no content: having them show anyways but drop down no content; however, I also like being able to "stage" certain words that I haven't defined yet and not have them appear, so I'm torn on this one. ;) In any case, thank you! |
Not sure how this occurred but presently, the ToC on my https://retypetest.pages.dev/reference/glossary/ page (in Edge on Windows 11) is starting at the bottom:
All other pages are fine; however, if I access another page directly from the Glossary page, the same issue occurs:
If I refresh that page, it's fine. But once I return to Glossary, the issue recurs:
The text was updated successfully, but these errors were encountered: