vue-simple-markdown icon indicating copy to clipboard operation
vue-simple-markdown copied to clipboard

Full Screen automattic on back press if Toggle preview On

Open adarshmadrecha opened this issue 5 years ago • 0 comments

Problem / Bug

If the Toggle preview is ON, and if the user navigates from one route to another and again comes back to the same route, then it automatically launches the full-screen mode. This only happens when keep-alive is used.

    <keep-alive :max="20">
      <router-view :key="$route.fullPath"></router-view>
    </keep-alive>

Expected Behaviour

Don't launch full preview unless the user clicks the button.

adarshmadrecha avatar Sep 09 '19 17:09 adarshmadrecha