You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you switch between the request snippet tabs and then scroll the page up/down, the following error is logged to the console. The error does not seem to affect any functionality though.
Uncaught TypeError: Cannot read properties of undefined (reading 'preventYScrollingBeyondElement')
at onWheel (request-snippets.jsx:76:45)
at Object.Ve (react-dom.production.min.js:52:317)
at Ge (react-dom.production.min.js:52:471)
at react-dom.production.min.js:53:35
at Or (react-dom.production.min.js:100:68)
at jr (react-dom.production.min.js:101:380)
at react-dom.production.min.js:113:65
at De (react-dom.production.min.js:292:189)
at react-dom.production.min.js:50:57
at Mr (react-dom.production.min.js:105:469)
Q&A (please complete the following information)
Content & configuration
Swagger UI must be configured with
requestSnippetsEnabled
=true
.For example, you can use https://petstore.swagger.io/?requestSnippetsEnabled=true
Describe the bug you're encountering
If you switch between the request snippet tabs and then scroll the page up/down, the following error is logged to the console. The error does not seem to affect any functionality though.
To reproduce...
POST /pet
with the default request body.At some point during steps 4-7 you'll see the console errors about
preventYScrollingBeyondElement
.Expected behavior
No errors in the console.
Screenshots
Additional context or thoughts
n/a
The text was updated successfully, but these errors were encountered: