swagger-api/swagger-ui

DeepLinking onClick does not scroll or open Operation.

Open

#3 958 ouverte le 28 nov. 2017

Voir sur GitHub
 (26 commentaires) (3 réactions) (0 assignés)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>

Guide contributeur