-
-
Notifications
You must be signed in to change notification settings - Fork 571
Short lines in previously hidden terminal when terminal have position: fixed #466
Copy link
Copy link
Closed
Labels
Bugresolvedif issue is resolved, it will be open until merge with masterif issue is resolved, it will be open until merge with master
Description
Expected behavior
I expect to be able to attach the terminal plugin to a div even if the div is currently hidden. When I show the div later ("on-demand" console) it should display text correctly.
Actual behavior
When I show the div later, the text in the terminal is split into lines, one character per line. When I enter new text it is being split too.
Steps to reproduce
See this code pen: https://codepen.io/paulsmirnov/pen/NozwLQ
Browser and OS
Windows 10 + Chrome/Firefox/Edge
Hints
- After playing with CodePen for a while I think it works with jQuery 3.1.1 but fails to work with 3.3.1 (the latest).
- Also, the jquery.terminal 1.2 works ok, 1.3-1.4 throws an exception, 1.5+ fails to display text correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bugresolvedif issue is resolved, it will be open until merge with masterif issue is resolved, it will be open until merge with master