Browse Source

Remove iOS html class name fix #3488

pull/5282/head
Jack Lukic 8 years ago
parent
commit
da0aff070a
3 changed files with 3 additions and 14 deletions
  1. 2
      RELEASE-NOTES.md
  2. 5
      src/definitions/modules/sidebar.js
  3. 10
      src/definitions/modules/sidebar.less

2
RELEASE-NOTES.md

@ -6,6 +6,8 @@
- **Modal** - Adds `tiny` and `mini` sized modals #5123 **Thanks @Banandrew**
**Bugs**
- **Sidebar** - Removed use of `ios` browser detection, and use of `-webkit-overflow-scrolling: touch;`. iOS no longer has sizing issues when displaying sidebar content in latest iOS.
- **Search** - Fixed issue where `searchDelay` could cause results to appear after search had lost focus.
- **Sticky** - Fix issue where sticky would cause page to shift when `context` height was determined by sticky's height in `position: static;` #3430
- **Form Validation** - Fixed issue where radio was not being included in `onFailure` values if not set #5064

5
src/definitions/modules/sidebar.js

@ -89,10 +89,6 @@ $.fn.sidebar = function(parameters) {
transitionEvent = module.get.transitionEvent();
if(module.is.ios()) {
module.set.ios();
}
// avoids locking rendering if initialized in onReady
if(settings.delaySetup) {
requestAnimationFrame(module.setup.layout);
@ -569,6 +565,7 @@ $.fn.sidebar = function(parameters) {
set: {
// ios only (scroll on html not document). This prevent auto-resize canvas/scroll in ios
// (This is no longer necessary in latest iOS)
ios: function() {
$html.addClass(className.ios);
},

10
src/definitions/modules/sidebar.less

@ -239,16 +239,6 @@ body.pushable > .pusher {
iOS
---------------*/
/*
iOS incorrectly sizes document when content
is presented outside of view with 2Dtranslate
*/
html.ios {
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
/*******************************
Variations

Loading…
Cancel
Save