I added a youtube subscribe button on my site but the Firefox version is different from the Chrome's one.
In Chrome the button is wider than in Firefox.
Even, in the full layout the button is bigger than the box.
Is there a way to fix this ?
You can see it here: https://developers.google.com/youtube/youtube_subscribe_button
http://i.stack.imgur.com/PTW3M.png
Related
I am trying to screen-capture a Bootstrap3 modal dialog that scrolls off the screen vertically.
All the screen capture extensions I have tried in Chrome and Firefox simply capture the visible area of the window, even if I select "entire page".
The scroll bars are present - why can't these utilities tell how tall the modal dialog is, and how can I capture the entire thing in one shot?
(Otherwise I'm going to have to cut pieces and stitch them together!)
Thanks!
Chrome 59+ supports full-screen capture:
Developer Tools => Network => Camera Icon => Refresh
Firefox 53+ supports this as well:
Developer Tools => Camera Icon
References
What's New In DevTools (Chrome 59) | Web | Google Developers
Taking screenshots - Firefox Developer Tools | MDN
I had the same problem.
As a workaround, I had to:
Inspect the modal to find its computed height (I targeted the element with class modal-dialog for Bootstrap 4)
Inspect the body element of the page and set its height to a value a little bigger than the modal's one (from previous step)
Then the plugins do capture the whole modal as well (I guess they scroll only to the body's computed height).
I'm working on a hybrid app using Cordova, Bootstrap and Angular JS (1.3.x) and testing it in a Chrome desktop browser and on a Android device (lollipop, 5.0.2).
In a particular view, I open a modal window using ngDialog. The content in this dialog can exceed the height of a typical smartphone size, so vertical scrolling is required. And here comes the problem:
Most of the elements that should be displayed at the bottom of the dialog (out of initial sight) do not appear or don't getting rendered. When I blindly tap on the area where the disappeared interactive elements should be, they will get painted. When I then scroll up again, elements at the top disappear.
This behavior didn't exist on Android 4.4.
Now I'm able to reproduce this error on my Windows Chrome Browser (v43).
These are the steps:
Run this Plunkr http://embed.plnkr.co/VGYUe2i9vwsQZ21vc3LB/preview
Test with a recent Chrome Version
Make sure, this plunker is shown in embedded view (important)
Open Chrome developer tools
Click "Toggle device mode" (smartphone icon) (important)
Limit the vertical resolution to about 600px in height Click "open dialog" and scroll down to the bottom
Can you read "Hello, do you see me?" ?
If not, press on one of the panels on top or below the textbox, this
will cause a repaint and you can see the text.
This is how it looks:
Not OK -> No text in marked red boxes:
OK -> After clicks on it or browser tab switch
I found this article on postman blog, but the "fixer" does not seem to work in my case.
http://blog.getpostman.com/2015/01/23/ui-repaint-issue-on-chrome/
Can someone point me to the right direction?
I followed the instructions in the linked blogpost and those seem to work for me. Specifically, adding
-webkit-transform: translate3d(0,0,0);
to my CSS for ngDialog-content which has overflow-y: scroll.
Now the div scrolls on load for me.
The other good news is that at least my issue seems to be gone in Chrome Canary, so it may be worth seeing if the issue still exists for you there.
I'm encountering a strange issue.
I have a facebook button at the bottom of a page. When clicked, the facebook "Comment/share" box pops up.
The behaviour is correct under FF and IE, but not in Chrome, where the box is cut by the bottom of the page. In other words, the page isn't resized as it is under FF and IE.
The page has a min-height and max-height, and the containers have an overflow:visible attribute as the facebook docs advises to avoid some display issues of the share iframe.
The curious thing is that the bug disappears by simply opening the developer tools, and checking/unchecking any CSS attributes of any parent element of the FB-button.
My guess is that the resize of the window isn't captured by Chrome when the button is clicked, but it is when using the developer tools.
I tried to explore other sources of the problem (max-height not working properly or a higher element having a overflow:hidden) but I found nothing conclusive.
Thank you for help.
You may have an issue if you're running a theme in Chrome. If you are, try resetting to the default theme:
options > personal stuff > themes > reset to default theme
Also, make sure you aren't zoomed out or in. Chrome gets a little funky with the zooming.
Assuming those aren't the issues, try putting the Share code in a div with a unique ID or class:
<div id="myFacebookContainer">Plugin HTML Here</div>
Your CSS would include something along the lines of this:
#myFacebookContainer span{
height:25px;
}
#myFacebookContainer iframe{
height:25px;
}
I hope one of those suggestions helps!
Recently radio buttons on a web page that I maintain stopped working in webkit browsers Chrome and Safari.
They work just fine in Internet Explorer, Firefox for Window and Firefox for Mac.
By successively removing html from the page I have isolated the problem. It is caused by an adjacent div that has a height attribute. If I remove the height attribute on the adjacent div, the radio buttons work.
I tried to attach screen shots showing both cases. However only one screen shot seems to show when I save the edits. So it seems only one screen shot is allowed.
The visible screen shot shows after the problem is fixed by unchecking the height attribute of the "progress indicator" div.
I found a better solution than working with the height. Instead add overflow:auto to the nearby div.
I am having issues with overlaying divs with transparency and being able to click on both layers in Chrome (but not IE).
In my search for answers I found the following example to illustrate:
http://www.searchlawrence.com/click-through-a-div-to-underlying-elements.html
The source for that page is commented to explain about transparency.
If I view this page in IE I can highlight (ie interact) both the text in the box("Here is a div with...") AND the text at the top ("This DIV is overlayed on..."). However, when I open the same page in Chrome, I cannot select the text at the top.
This highlights the issue I am having in using iframes which contains links, but I also want the page containing the iframe to also allow links to be clicked. The transparanecy works in Chrome in as much as I can see both sets of links, but can only click those on the top layer (ie the iframe). The top iframe allows me to see what is behind but not interact with it.
I know about pointer-events:none however, that then stops the links on the iframe. I can basically get it working on the background html OR the overlying iframe but not both!
Hope this all makes sense and thanks in advance.
It seems that the solution specifically for chrome is using the css:
div#parent, div#parent div {pointer-events:none;}
meaning Div, and all children div as well should enable clicking through.
I found the solution here:
Click through transparency in Chrome