Skip to content

Browser sniffing for http://dev.jquery.com/ticket/4014#575

Closed
chrissmith-examtime wants to merge 1 commit intojquery:masterfrom
ExamTime:master
Closed

Browser sniffing for http://dev.jquery.com/ticket/4014#575
chrissmith-examtime wants to merge 1 commit intojquery:masterfrom
ExamTime:master

Conversation

@chrissmith-examtime
Copy link

I ran into an issue with jquery-ui breaking sticky footers in IE9, tracked it down to the code that runs on document ready in jquery.ui.core.js, it creates an empty div at the end of the page and deletes it, apparently to solve an old IE6 layout bug: http://dev.jquery.com/ticket/4014

In IE9 this leaves white space after my sticky footer, quick fix was to add browser sniffing around this section to only run for old versions of IE.

@scottgonzalez
Copy link
Member

You must not understand the purpose behind feature detection. This will never land. If you're having problems, file a ticket.

@chrissmith-examtime
Copy link
Author

Ok, raised a bug:

http://bugs.jqueryui.com/ticket/8026

Out of curiosity, seeing that IE9 is only browser this seems to effect and the code causing the issue is only there to support IE6... what is the best way to go about this?

@scottgonzalez
Copy link
Member

Figure out the actual problem and fix it. It doesn't matter what browsers it affects, we won't accept code that uses $.browser.

@scottgonzalez
Copy link
Member

FWIW, here's the diff for the old core ticket you referenced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants