We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffbad7 commit ac65301Copy full SHA for ac65301
src/side-nav.vue
@@ -219,10 +219,13 @@ module.exports =
219
@hide() unless restoreNav
220
221
toggle: ->
222
- if @opened
223
- @close()
+ if @isFixed # disable opening when fixed
+ @isOpened = @opened
224
else
225
- @open()
+ if @opened
226
+ @close()
227
+ else
228
+ @open()
229
230
ready: ->
231
@processFixed()
0 commit comments