I have dataview with large number of rows. I want to scroll it vertically. The scroll behavior is fine in chrome and iPad but IE 11 does not scroll. When i scroll, it goes up after scrolling. It does not stop at the scrolling position.
Try to add scrollable configuration to your navigation view and its children:
scrollable: {
direction: 'vertical'
}
Related
Scrolls are not displayed for kendo grid in Microsoft Edge browser. It works properly when viewed in Google chrome.
I used Kendo UI property Virtual Scrolling set to true but it shows Vertical scrollbar but not horizontal one.
scrollable: {
virtual: true
},
so is there any other kendo property available to show horizontal scrollbar?
I have an app which uses EMPageViewController to display a set of onboarding slides. My understanding is that the underlying scroll view is using paged mode to display slides.
Upon update to iOS11, I see that suddenly the slides follow the finger, so they are draggable and bounce up and down. I expect paged scroll view to be scrollable horizontally only.
How can I restrict paged scroll view to horizontal scrolling only in iOS11 ?
I tried this but it did not work
pageViewController.scrollView.alwaysBounceVertical = false
This fixes the issue:
if #available(iOS 11.0, *)
{
self.scrollView.contentInsetAdjustmentBehavior = .never
}
The behavior for determining the adjusted content offsets. This
property specifies how the safe area insets are used to modify the
content area of the scroll view.
contentInsetAdjustmentBehavior is new from iOS 11 > and the default value is automatic.
Content is always adjusted vertically when the scroll view is the
content view of a view controller that is currently displayed by a
navigation or tab bar controller. If the scroll view is horizontally
scrollable, the horizontal content offset is also adjusted when there
are nonzero safe area insets.
Which made some of my UIScrollView scroll more than they were excepted to.
My requirement is to create a table with fixed header and first column, table data will scroll in both horizontal and vertical directions.
for this I have used 3 scrollviews , following gif will make it clear
1st scrollview is the header name row, it is set to horizontal = true (i.e its scroll direction is horizontal)
2nd scrollview is kcname 1st column of the table, it is vertical scroll, both of these have scrollEnabled={false}, as they wont take scroll gesture, they are scroll programmatically using scrollTo
3rd scrollview is body cell table filled with data, this view has 2 scrollviews as parent , one to take horizontal scroll and another to take vertical scroll.
the scroll values of two body scroll views are put in scrollTo of the other two scrollview using refs on onScroll event, scrollEventThrottle value is 16 .
My problem is how to sync these scrollviews scrolls as this clearly shows lag, which is not acceptable
Disable scrollTos animation like this:
this.toolbar.scrollTo({
x: yourXValue,
animated: false,
});
Then there is no lag :)
I'm using those:
body{ -ms-overflow-style: none;} /* for ie hiding scroll bar */
body::-webkit-scrollbar{display:none;} /* chrome hiding scroll bar*/
body{overflow:-moz-scrollbars-none;}/* hides the scroll bar for Firefox */
to hide the default browser scrollbars, it is all fancy & dandy for chromie & IE ( yay ! ),
although in Firefox I'm loosing the ability to scroll with mouse scroll, what is weird is beside that I can scroll, but only with Up/Down arrows or pageUp/pageDown keys.
Is there something that I can do to re-enable scrolling with mouse wheel in Firefox?
In the post that I've found all of those neat lines of code the author said that we need to implement this as well for Firefox:
$(function() {
jQuery.scrollSpeed(100, 800);
}); // for page scrolling
But it does not work for me, or maybe I'm doing sth wrong.
Thx for stopping by o/
Is it possible to prevent a uiwebview from scrolling around, but to also have a div that can scroll?
I have a jquery navbar and want a scrollable div underneath with many images. I'd like to be able to scroll through the images while the navbar remains fixed.
Initially the whole webview was moving around so I used this to stop all scrolling.
webView.scrollView.scrollEnabled = NO;
but now I want the div to still be scrollable.
I have the div style set to
overflow:auto
but it does not seem to move.
I had the wrong div set to overflow:auto.
So it worked after setting the correct one to scroll.