swagger-api/swagger-ui

DeepLinking onClick does not scroll or open Operation.

Open

#3958 opened on Nov 28, 2017

View on GitHub
 (26 comments) (3 reactions) (0 assignees)JavaScript (25,447 stars) (8,801 forks)batch import
Good first issueP2cat: deep linkingtype: enhancementversion: 3.x

Description

Hi there! I see that an issue #2884 deeplinking was integrated to 3.x however if I have a hyperlink with a hash to the operationID nothing happens on click. If I reload the page the UI scrolls to the open panel as expected. Is there something I am missing here? My url looks as follows and I am using the 3.0 dist repo installed via npm.

Again when clicked the URL address is updated but nothing happens until the page is refreshed manually. Any suggestions? <a href="#/pet/deletePet">Deletes a pet</a>

Contributor guide