Ionaru / Ionaru/easy-markdown-editor
Leaving fullscreen mode does not make side-by-side view disappear
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
If you are in fullscreen mode with side-by-side view and you leave fullscreen mode, the side-by-side previsualization stays on half the page
**To Reproduce**
Steps to reproduce the behavior:
1. With `sideBySideFullscreen` set to `false`
1. Go fullscreen mode
2. Activate side-by-side view
3. Leave fullscreen mode
**Expected behavior**
Side-by-side view should either disappear or be restricted to the editor
**Screenshots**

** Version information **
- OS: Ubuntu Budige 20.04
- Browser: Firefox 85
- EasyMDE version: 2.14.0
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
Start by reproducing the fullscreen and side-by-side sequence with sideBySideFullscreen set to false, then trace the fullscreen and side-by-side state handling. Done means leaving fullscreen removes the side-by-side preview or restricts it to the editor, with the reported behavior covered by a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100