-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[VarDumper] Scroll into view when searching #28854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Positioning it fixed relative to the main |
Maybe using flex display will do? But no blocker for me.. the keyboard shortcuts work either way. |
Actually I don't see how using a flex display could help for this :/ |
👍 for a fixed top bar, that reduces the possible min. width as well. Let me know if i should have a look in this PR. |
friendly ping for 4.2 as-is :) |
Thank you @ro0NL. |
This PR was merged into the 4.2-dev branch. Discussion ---------- [VarDumper] Scroll into view when searching | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> This jumps to the found element when using the javascript widget for searching HTML dumps. Inspired by Ctrl+F in Chrome :) It's super convenient with long dumps, however i wasnt able to position the search input on the right in a fixed manner... because CSS 😓 i was hoping @ogizanagi could add a patch for it. Also see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView Commits ------- 647a937 [VarDumper] Scroll into view when searching
This PR was squashed before being merged into the 4.2 branch (closes #29984). Discussion ---------- [VarDumper] Fixed search bar | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Continuation of #28854, replaces #29176 initial:  ctrl f:  scroll:  tested in chrome+ff cc @ogizanagi ref https://caniuse.com/#feat=css-sticky Commits ------- 99d2893 [VarDumper] Fixed search bar
This jumps to the found element when using the javascript widget for searching HTML dumps. Inspired by Ctrl+F in Chrome :)
It's super convenient with long dumps, however i wasnt able to position the search input on the right in a fixed manner... because CSS 😓 i was hoping @ogizanagi could add a patch for it.
Also see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView