Akryum / Akryum/vue-virtual-scroller

Can't resize textarea/contenteditable div from inside the list item

Aberta
#762 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
TypeScript
Estrelas
10.8k
Forks
973
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### Describe the bug

The item doesn't resize vertically when using a textarea that can be resized vertically by the user or a contenteditable div and the text goes to a new line.
Also after going to a new line and it fails the selected textarea/contenteditable div lose focus.

Tested on Firefox and Edge.

### Reproduction

https://github.com/dragos-boisteanu/scroller-issue

commit: [vertical scalling with textarea and contenteditable](https://github.com/dragos-boisteanu/scroller-issue/commit/c85ddebeb6b0f60df17b31f05ca7f403ca122fcd)
The top is vue-virtual-scroller where the problem is and the bottom is another lib where this works as intended

### System Info

```shell
System:
OS: Windows 10 10.0.22000
CPU: (12) x64 AMD Ryzen 5 5600H with Radeon Graphics
Memory: 3.22 GB / 15.36 GB
Binaries:
Node: 16.17.0 - C:\Program Files\nodejs\node.EXE
npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD

Vue 2.6.14
vue-virtual-scroller 1.1.2
```

### Used Package Manager

pnpm

### Validations

- [X] Read the [docs](https://github.com/Akryum/vue-virtual-scroller/blob/master/packages/vue-virtual-scroller/README.md).
- [X] Check that there isn't [already an issue](https://github.com/Akryum/vue-virtual-scroller/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/Akryum/vue-virtual-scroller/discussions).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.