Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[WebProfilerBundle] Fix full sized dump hovering in toolbar#23330
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[WebProfilerBundle] Fix full sized dump hovering in toolbar#23330
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ogizanagi commentedJun 29, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
After some more investigations, it seems it doesn't happen on a fresh install. It happens on symfony-demo. The cause seems to be a conflict somewhere with bootstrap-sass, as removing it solves the issue. |
fabpot commentedJul 3, 2017
ping@javiereguiluz |
ogizanagi commentedJul 19, 2017
@javiereguiluz : What do you think about merging this one? It's not ideal, because I didn't really identify the conflicting css rules leading to this strange behavior, but at least this patch has been proven effective for everyone in the referenced issue. |
javiereguiluz commentedJul 19, 2017
@ogizanagi you are right. Let's merge this. Thanks! |
javiereguiluz commentedJul 19, 2017
Thanks Maxime. |
…r (ogizanagi)This PR was merged into the 2.8 branch.Discussion----------[WebProfilerBundle] Fix full sized dump hovering in toolbar| Q | A| ------------- | ---| Branch? | 2.8 <!-- see comment below -->| Bug fix? | yes| New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files -->| BC breaks? | no| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->| Tests pass? | yes| Fixed tickets |#23563 <!-- #-prefixed issue number(s), if any -->| License | MIT| Doc PR | N/ASince#22953, the dump block shown on hovering the toolbar item takes the full width. But at least on OS X chrome, safari and firefox, the behavior is buggy and makes it unusable as the cursor can't reach the dumped content:Honestly, I don't really understand the issue here and tried some tweaks until it works everywhere, (including trying to add a `.no-resize` class on `sf-toolbar-info` to avoid executing the related js event listener in case it was conflicting).As shown in the screenshot, it also fixes the case where the dump wasn't full width under a certain size.Commits-------28930c5 [WebProfilerBundle] Fix full sized dump hovering in toolbar
MatTheCat commentedAug 2, 2017
What is the meaning ofthis piece of JavaScript? I think the issue comes from the fact it assumes all Proper quick fix: .sf-toolbar-block.sf-toolbar-block-dump .sf-toolbar-info {+ left: 0 !important; max-width: none;- right: 0;+ right: 0 !important;} |
… toolbar (ogizanagi)This PR was merged into the 2.8 branch.Discussion----------[WebProfilerBundle] Fix full sized dump hovering in toolbar| Q | A| ------------- | ---| Branch? | 2.8 <!-- see comment below -->| Bug fix? | yes| New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files -->| BC breaks? | no| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->| Tests pass? | yes| Fixed tickets |symfony#23563 <!-- #-prefixed issue number(s), if any -->| License | MIT| Doc PR | N/ASincesymfony#22953, the dump block shown on hovering the toolbar item takes the full width. But at least on OS X chrome, safari and firefox, the behavior is buggy and makes it unusable as the cursor can't reach the dumped content:Honestly, I don't really understand the issue here and tried some tweaks until it works everywhere, (including trying to add a `.no-resize` class on `sf-toolbar-info` to avoid executing the related js event listener in case it was conflicting).As shown in the screenshot, it also fixes the case where the dump wasn't full width under a certain size.Commits-------28930c5 [WebProfilerBundle] Fix full sized dump hovering in toolbar
Uh oh!
There was an error while loading.Please reload this page.
Since#22953, the dump block shown on hovering the toolbar item takes the full width. But at least on OS X chrome, safari and firefox, the behavior is buggy and makes it unusable as the cursor can't reach the dumped content:
Honestly, I don't really understand the issue here and tried some tweaks until it works everywhere, (including trying to add a
.no-resizeclass onsf-toolbar-infoto avoid executing the related js event listener in case it was conflicting).As shown in the screenshot, it also fixes the case where the dump wasn't full width under a certain size.