patternfly / patternfly/patternfly-react
Bug - [LogViewer] - [Glitches with searchfield + Resize event]
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 862
- Forks
- 392
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 9
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on the LogViewer documentation page in Firefox: type in the search field, resize the window, and type again. Trace the LogViewer search and resize behavior, then verify that resizing no longer causes scrolling glitches or clears the editor content before rendering it again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100