epam / epam/UUI

[RTE]: Text sticks to the top of the field when pasting a large piece of text

Open
#2,038 0 comments 0 reactions 0 assignees View on GitHub
bug RTE
Dominant language
TypeScript
Stars
247
Forks
78
Avg merge
14h 27m
Merged PRs (30d)
15

Description

## Description (optional)

Margin of 8px is missing at the top of Rich Text Editor field when pasting a large piece of text.

## Steps to Reproduce

1. Create a large piece of text (>400 words, so that a scrollbar appears). I used text from for test copy and past behavior here: https://www.blindtextgenerator.com/lorem-ipsum
2. Copy it and paste into RTE.

## Actual result

The margin above the text is missing, text sticks to the top of the field.

https://github.com/epam/UUI/assets/130043480/2443ae5f-7b72-4c43-b167-b351ae2eba53

## Expected result

The 8px margin above the first line of the text is displayed.

## Environment

UUI version: 5.6.1
Browser name: Chrome
Operating System: Windows

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.