swagger-api/swagger-ui

DeepLinking onClick does not scroll or open Operation.

Open

#3958 aperta il 28 nov 2017

Vedi su GitHub
 (26 commenti) (3 reazioni) (0 assegnatari)JavaScript (8801 fork)batch import
Good first issueP2cat: deep linkingtype: enhancementversion: 3.x

Metriche repository

Star
 (25.447 star)
Metriche merge PR
 (Merge medio 20h 34m) (14 PR mergiate in 30 g)

Descrizione

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>

Guida contributor