swagger-api/swagger-ui

DeepLinking onClick does not scroll or open Operation.

Open

#3,958 建立於 2017年11月28日

在 GitHub 查看
 (26 留言) (3 反應) (0 負責人)JavaScript (25,447 star) (8,801 fork)batch import
Good first issueP2cat: deep linkingtype: enhancementversion: 3.x

描述

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>

貢獻者指南