Questions tagged [scrolling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
37 votes
2 answers
4k views

Dev Console jumpy on mouse scroll

Since yesterday my dev console is jumpy when I scroll with the mouse wheel. I use windows on chrome at 80% zoom default. Putting it back to 100% zoom does not fix the problem. I only have this ...
user37586's user avatar
  • 660
12 votes
1 answer
1k views

mCustomScrollbar not working when Locker Service is enabled in Salesforce-1

I am having problem when using mCustomScrollbar (GIT Hub) when locker service is activated. During initialization of mCustomScrollbar in the helper, it throws the following error [TypeError: ...
SE_User's user avatar
  • 2,293
10 votes
1 answer
2k views

How to implement a professional infinite/virtual scrolling in Lightning

I have a custom Lightning grid component (like and editable lightning:datatable) for which I need infinite scrolling to display thousands of rows without bringing the customers browser to a halt. I ...
Robert Sösemann's user avatar
9 votes
1 answer
2k views

iFrame inside a visual force page is not scrollable

I have a pdf which i retrieve from the back-end and embed the application/pdf - content type onto the VF page in an iFrame but currently i am facing this issue where my iFrame is not scrollable. ...
user10684's user avatar
  • 441
8 votes
1 answer
5k views

Why 'slds-scrollable' class is not compatible with s1 mobile?

Lightning design system provide static resources such as CSS and HTML there isn't any JavaScript. So, why slds-scrollable class is not compatible with s1 mobile? Does this mean that I can't use my ...
Saurabh Mishra's user avatar
7 votes
0 answers
420 views

Unable to add custom scroll due to "component/namespace encapsulation" when Locker Service is active

I'm unable to add custom scroll due to the component/namespace encapsulation when locker service is activated in Salesforce1 app. Since the Scrollable is still not compatible with Salesforce1 app, and ...
SE_User's user avatar
  • 2,293
7 votes
0 answers
984 views

lightning:textarea | Scroll not working when the content exceeds the container height in Salesforce1 | Winter '17

I'm facing an issue where scroll is not working in one of the newly released Lightning Base Component in the Winter '17 namely lightning:textarea. The cursor even moves out of the textarea when tried ...
SE_User's user avatar
  • 2,293
6 votes
2 answers
1k views

jQuery NiceScroll not working when Locker Service is active

I am having an issue when using NiceScroll (GIT Hub) when locker service is enabled. If the locker is turned off, it work's fine. Code:- Component: <ltng:require scripts="{!join(',', $...
SE_User's user avatar
  • 2,293
6 votes
1 answer
3k views

ui:scrollerWrapper not working in Salesforce1

Newly added Lightning component in the Winter '17, ui:scrollerWrapper which claims to create a container that enables native scrolling in Salesforce1 is not working in Salesforce1 app. CODE: (to ...
SE_User's user avatar
  • 2,293
6 votes
0 answers
1k views

Does ui:scrollerWrapper have an equivalent in Lightning Web Components?

Using slds-scrollable class in Lightning Web Component works in desktop browser but not on Salesforce Mobile app. For Aura components you would use the ui:scrollerWrapper to accomplish this. I've ...
Ed Elliott's user avatar
5 votes
1 answer
6k views

Scroll down automatically after clicking on CommandButton or we can say Pageblock refresh to a bottom of the page

Hi I have lengthy custom form, wher user can select some field, when he submit the another page block except this list of fields refreshes and shows the list of batch classes at bottom of the page. ...
Salesforce Steps's user avatar
5 votes
3 answers
6k views

Scroll issue in Salesforce1 | Lightning ui:scrollerWrapper issue

I'm using ui:scrollerWrapper to implement scrolling functionality in Salesforce1 application as the default SLDS-SCROLL is still not compatible in Salesforce1 app. Recently, I'm facing scrolling ...
SE_User's user avatar
  • 2,293
4 votes
2 answers
12k views

Scroll Page to top onClick of a button in Saleforce1

I have a problem scrolling to the top of a lightning component page in Salesforce1. I have tried using window.scrollTo(0,0); Added the below attribute in the button tag oncomplete="window....
Brav's user avatar
  • 820
4 votes
2 answers
6k views

How to detect if a page scrolled in LWC

Please suggest a way to check if a user scrolled down. as of now I have only the below way but only provide scroll count instead of the direction. connectedCallback() { this.count = 0; ...
gs650x's user avatar
  • 2,660
4 votes
2 answers
746 views

Salesforce Summer 16. Aura Component issue with links and scrolling

Summer 16 update has brought some issues to a Salesforce One mobile app I have been working on. The two issues I have had are the following. All hyperlinks (even ones with just a # in the href and an ...
Ashley Colman's user avatar
4 votes
0 answers
2k views

Lightning Component not Scrolling in iphone on Salesforce1 App

I have created a lightning Component which implements "force:appHostable". Now I have added this component into Lightning Component Tab and add it into an App in Lightning Experience. This tab with ...
ankit goel's user avatar
4 votes
0 answers
270 views

Is it possible to pass dynamically created attribute value from Lightning Component Helper to Lightning Tokens?

I would like to pass dynamically created attribute value from Lightning Component Helper to Lightning Tokens, and subsequently use the same in CSS. I'm trying to avoid using JavaScript to set style ...
SE_User's user avatar
  • 2,293
3 votes
2 answers
5k views

lightning:spinner in slds-scrollable scrolls out of view

I am displaying a long scrollable content in a modal <c:strike_modal aura:id="filterModal" title="Filter volumes" primaryButtonLabel="Ok" secondaryButtonLabel="Cancel" showHeader="true" showFooter=...
Robert Sösemann's user avatar
3 votes
1 answer
3k views

Does scrollTo() have a "behavior" attribute like window.scroll()?

I'm scrolling the page if the current Customer Community User is not a 'Guest User', but the page movement is abrupt. Is there an attribute I can set on scrollTo() for more elegant page scrolling in ...
Nicholas Zozaya's user avatar
3 votes
3 answers
7k views

combo box inside slds-scrollable doesn't render as expected in LWC

I have LWC where if I click on combobox then expected outcome is it should show options at the top but instead it adds a scroll bar to show option. HTML: <template> <lightning-card> ...
gs650x's user avatar
  • 2,660
3 votes
1 answer
2k views

How to detect if scroll action has happened in ui:scrollerWrapper

When scrolling action occurs for content inside ui:scrollerWrapper, I want to detect that and execute some javascript after that. I have tried to add scroll event handler to the div that is inside ...
Sarang's user avatar
  • 2,580
3 votes
1 answer
1k views

How to constantly display scrollbar in iOS using <ui:scrollerWrapper> element?

I would like to display scrollbar always in iOS devices when implementing scroll functionality using <ui:scrollerWrapper> element in Salesforce1 app which was recently fixed in Winter '17 ...
SE_User's user avatar
  • 2,293
3 votes
0 answers
341 views

Scrolling on iPad becomes stuck

I looked to see if there was a similar question on this site, but couldn't find one, and apologize if this is a repeat question. My company is doing some front end work for a client building an app ...
Nathan M's user avatar
3 votes
1 answer
1k views

Scrollbar inside scrolling modal not clickable

I'm using the latest Appiphony Strike components to built a multiselect picklist inside a modal. <aura:component > <c:strike_modal title="Strike Modal" showModal="true"> <...
Robert Sösemann's user avatar
2 votes
4 answers
6k views

Scrolling in Pageblocktable

Is there a way to implement horizontal and vertival scroll to a pageblocktable similar to the ones in ListViews? Similar to ListViews means vertical scrolling is only for the data and not for header ...
Saumya Ranjan Satapathy's user avatar
2 votes
1 answer
3k views

Move scrollbar to the bottom of the page in LWC

I am trying to display the scroll bar at the bottom of the page instead of displaying at the top of the page along with the data for an LWC component. Similar to mobile device, this is what I have &...
sfdcinprogress's user avatar
2 votes
2 answers
922 views

Custom Scroll not working when Locker Service is active

I'm using an external scroll plugin viz. mCustomScrollbar (GIT Hub) to add scroll functionality dynamically to div. Since I am unable to use ui:scrollerWrapper, newly added Lightning component in ...
SE_User's user avatar
  • 2,293
2 votes
1 answer
1k views

Is there a way to create a scrolling banner with alert on campaign record page?

I have a requirement where need to display an alert message as scrolling text on top of campaign record based on custom date field. If the date range falls in 2 days then I need to show this ...
Salesforce Learner's user avatar
2 votes
1 answer
3k views

How to limit the number of rows displayed in <apex:datatable> and add a scrollbar?

I have an <apex:datatable> like this : <apex:dataTable value="{!accList}" var="account"> <apex:column> <apex:facet name="header">Account ID</apex:facet> ...
SF_user's user avatar
  • 3,616
2 votes
1 answer
2k views

Why is my page scrolling to the top when click on a field and the keyboard appears? [duplicate]

I have the following problem on iOS devices. When I click on an input field and the keyboard appears my page scrolled to the beginning/top. The problem occurs only on iOS devices and it occurs after I ...
Givko's user avatar
  • 215
2 votes
1 answer
980 views

Why can't I have a scrolling div in Salesforce1?

I have a lightning page, that contains a lightning component, that among other things shows a list of product names. I have the product names in a list with a div with a fixed size with scrolling ...
user2171796's user avatar
2 votes
0 answers
233 views

Scrolling contents of a child component, Lightning Salesforce - Winter’19 release impact

I have a component design as follows :- Component A - (height - 100%) Component A1 - (height - 10%) Component A2 - (height - 80%) (contents scrollable using (class="slds-scrollable_y")) ...
Shri's user avatar
  • 147
2 votes
1 answer
248 views

How can I get the height of content inside ui:scrollerWrapper?

I've got a scrollerWrapper, filled with an aura:iteration of items. I'm using the scrollTo("bottom") function in an afterRender handler so that when the page is new, it appears already scrolled to the ...
PatMcClellan__c's user avatar
2 votes
0 answers
1k views

How to fix Docked Utility Bar at bottom of mobile screen?

We have created a Lightning APP and added Docked Utility Bar. The problem is it not fixed at the bottom of the screen. User need to scroll down to see the buttons. We tried to manipulable the CSS and ...
AtulRajguru9's user avatar
  • 9,120
2 votes
1 answer
2k views

ui:scrollerWrapper scrollTo method help

I'm building a Lightning Component that includes a ui:scrollerWrapper, containing an aura:iteration of varying length. I want the scroller to default scrollTo the bottom. I found the ui:...
PatMcClellan__c's user avatar
1 vote
1 answer
41 views

Make property unreactive

Let's say we have renderedCallback() { if(!this.isRenedered) { console.log('is js scroll:',this.isJSScroll); const tempo = [...this.historyList]; const targetDiv = this....
pincet's user avatar
  • 869
1 vote
2 answers
2k views

How to implement Horizontal Scroll on HTML Table in Salesforce Mobile App?

I am in process of implementing a native old HTML table (<table> ... </table>) in a Lightning Aura Component which will be rendered in native Salesforce Mobile App (historically known as ...
Jayant Das's user avatar
  • 30.6k
1 vote
1 answer
5k views

Scrolling event within Lightning Component

I'm very new to Lightning component development and I'm trying to update page once user scrolls down to certain height (for this example say 250px) My component looks like: <aura:component ...
user569925's user avatar
  • 1,179
1 vote
1 answer
2k views

How can I put a horizontal scroll bar in this table?

When I try to view the mobile version of this table, I don't get the horizontal scroll bar. What should I do to view the scroll bar or make it responsive? I already tried to add: <div class="...
Cline's user avatar
  • 111
1 vote
1 answer
652 views

Infinite Scroll In LWC DataTable Using @wire Getting Error For FetchData

The Salesforce documentation for LWC datatable indicates fetchData(50) but doesn't define it. In my case I am using @wire(apexMethod) to populate the data but getting understandable error fetchData ...
ddeve's user avatar
  • 1,606
1 vote
1 answer
821 views

How to avoid scroll to last focused element on Toast close

I'm using a Toast for showing whether a search has successfully completed or not when clicking the "Search" button. My problem is that, when it shows the list of results and I'm scrolling along it, ...
user3529582's user avatar
1 vote
3 answers
2k views

Salesforce1 on focus scroll to the top

I've this issue using Salesforce1 on mobiles (Android and IOS) with a long lightning component form: Tapping on an input text element at the bottom part of the form, scrolls the screen to the top. ...
Corrado Invernizzi's user avatar
1 vote
1 answer
852 views

How to add a scrolldown function in Visualforce for a Salesforce1 Lightning app?

I cannot find a way to add a scrolling bar to my Salesforce1 app, changing the height (in pixels) in the Lightning Force editor is not giving any result. Page is truncated at some point on my phone ...
Francesco Alfeo's user avatar
1 vote
0 answers
298 views

Open picklist over scrollbar

I'm trying to show a picklist over the scrollbar of my lwc. I tried with z-index and overflow in some places but I don't find how to do that (maybe it's impossible?). Here an example code that I wrote ...
Ilanb's user avatar
  • 11
1 vote
0 answers
146 views

Can't scroll after lightning component quick action finished

I have implemented this Lightning component quick action and it works fine. Lightning Web Component LWC Quick Action button Lead Ownership The only issue I'm having is that when the button is clicked ...
Golnaz H's user avatar
1 vote
1 answer
295 views

Lightning Datatable scroll into view

I need a way to programmatically scroll to a specified row in a Lightning Datatable. In my case I want to scroll-into-view based on search results that return a row number or key. Can someone point ...
el Jeffe's user avatar
1 vote
0 answers
174 views

Lightning modal - Scroll to top of page when there is a validation rule error

I am making a component that has a similar functionality like the standard lightning component. I am using modal mode and normal mode based on a value provider. I want when there is a validation error,...
john's user avatar
  • 11
1 vote
0 answers
54 views

Customise Standard lightning Component from custom lightning component

I have a custom feed filter visualforce page created with the help of this link. And then I added the vf page in lightning component with iframe and in case page layout. After the page is loded main-...
Ajith Kumar's user avatar
1 vote
0 answers
345 views

How to programmatically scroll in iPad for safari browser

I want to implement window.scrollTo(x,y) functionality for iPad. It works in desktop but does not work for iPad. There are certain solutions already provided here and here which did not work for me. ...
Sarang's user avatar
  • 2,580
1 vote
1 answer
156 views

Lightning Component on record page, multiple scroll areas

I'm attempting to create a similiar scroll situation to this: Where the left and right sides are 100% height down to the utility bar and scroll individual. The page should not scroll. I'm getting ...
wellmstein's user avatar
  • 1,821