Bug - [LogViewer] - [Glitches with searchfield + Resize event]

未关闭
#12,606 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
react, typescript
领域
frontend

调研方向

首先在 Firefox 中的 LogViewer 文档页面上复现该问题:在搜索字段中输入内容,调整窗口大小,然后再次输入。跟踪 LogViewer 的搜索和调整大小行为,然后验证调整大小不再导致滚动异常,也不会在再次渲染编辑器内容之前将其清除。

由索引模型根据 Issue 内容生成。

描述

Describe the problem
The editors are glitching when clicking/typing in the searchfield, partially trying to scroll into view and clearing the content of the editor before rendering it back.

How do you reproduce the problem?
Can be reproduced on the documentation website: https://www.patternfly.org/extensions/log-viewer

Type something in the searchfield, Resize the window, then type again.

https://github.com/user-attachments/assets/b02f7cde-808e-4b61-9a12-8190ef1cac4a

What is your environment?

  • OS: Arch Linux, Kernel 7.1.3-arch1-3, Sway WM Wayland compositor
  • Browser [Firefox]
  • Version [152.0.6 (64-bit)]

Could not be reproduced on Chrome on the same machine.
Also, it appears that it doesn't occur on a Windows 11 device.


Jira Issue: PF-4517

主要语言
TypeScript
星标
862
派生
392
平均合并
4 天 8 小时
30 天内合并 PR
9

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

patternfly/patternfly-react 的其他 Issue

查看 patternfly/patternfly-react 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。