• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Upload file button still clickable after upload

Jon W

Well-known member
#1
(Tested in Google Chrome and IE10)

After uploading a file, the upload file button still appears to be clickable. It seems to lurk around behind the External Download URL label, making part of that label un-clickable.

I've right-clicked it so you can see what I mean...
attach.png

I can fix this in Google Chrome by replacing:
Code:
            showContainer = function()
            {
                $container.css(
                {
                    overflow: 'visible',
                    height: 'auto',
                    width: 'auto'
                });
            },
            hideContainer = function()
            {
                $container.css(
                {
                    overflow: 'hidden',
                    height: '1px',
                    width: '1px'
                });
            },
with:
Code:
            showContainer = function()
            {
                $container.css(
                {
                    visibility: 'visible',
                    height: 'auto',
                    width: 'auto'
                });
            },
            hideContainer = function()
            {
                $container.css(
                {
                    visibility: 'hidden',
                    height: '1px',
                    width: '1px'
                });
            },
but this stops it working at all in IE.
 

Mike

XenForo developer
Staff member
#2
Chrome seems to ignore the overflow: hidden, but it seems like it applies it with position: relative.