Skip to content

Repeating inputing newline character makes cursor exceeds the bottom range. #61

@Ziqi-Yang

Description

@Ziqi-Yang

demo:
https://codepen.io/ziqi-yang/pen/rNPNgeO

used framework: code-input with prism.js
code input enabled plugins: Indent
prism.js enabled plugins: prism-autoloader prism-line-numbers

description:
In chromium (my version: Chromium 118.0.5993.88 Arch Linux), when you hit "Enter" repeatedly, you can see the cursor exceed the bottom range of code-input, then you need to scroll to the end or input some characters other than "Enter". In firefox developer version 119.0b9, the behavior seems fine.

caused reason:
font-size: 20px; style for code-input

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions