Preventing scroll in parent component when inner component scroll position reaches bottom
up vote
0
down vote
favorite
I am working on a structure which looks like this. I am using react for developing this structure.
-----------------------------------------
| #toolbar |
| ------------------------------------- |
| | #navbar | |
| ------------------------------------- |
| |
| ------------ ------------------------ |
| | #Inbox | | #form | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| ------------ | | |
| | | |
| | | |
| | | |
| | | |
| ------------------------ |
|
| |
| |
-----------------------------------------
Here I am using Infinite scrolling in Inbox and once the scroller in Inbox hits the bottom of component(Before It getting the new data) my complete parent component scrolls down. I need suggestions to prevent this happen.
javascript html css reactjs jsx
add a comment |
up vote
0
down vote
favorite
I am working on a structure which looks like this. I am using react for developing this structure.
-----------------------------------------
| #toolbar |
| ------------------------------------- |
| | #navbar | |
| ------------------------------------- |
| |
| ------------ ------------------------ |
| | #Inbox | | #form | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| ------------ | | |
| | | |
| | | |
| | | |
| | | |
| ------------------------ |
|
| |
| |
-----------------------------------------
Here I am using Infinite scrolling in Inbox and once the scroller in Inbox hits the bottom of component(Before It getting the new data) my complete parent component scrolls down. I need suggestions to prevent this happen.
javascript html css reactjs jsx
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am working on a structure which looks like this. I am using react for developing this structure.
-----------------------------------------
| #toolbar |
| ------------------------------------- |
| | #navbar | |
| ------------------------------------- |
| |
| ------------ ------------------------ |
| | #Inbox | | #form | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| ------------ | | |
| | | |
| | | |
| | | |
| | | |
| ------------------------ |
|
| |
| |
-----------------------------------------
Here I am using Infinite scrolling in Inbox and once the scroller in Inbox hits the bottom of component(Before It getting the new data) my complete parent component scrolls down. I need suggestions to prevent this happen.
javascript html css reactjs jsx
I am working on a structure which looks like this. I am using react for developing this structure.
-----------------------------------------
| #toolbar |
| ------------------------------------- |
| | #navbar | |
| ------------------------------------- |
| |
| ------------ ------------------------ |
| | #Inbox | | #form | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| ------------ | | |
| | | |
| | | |
| | | |
| | | |
| ------------------------ |
|
| |
| |
-----------------------------------------
Here I am using Infinite scrolling in Inbox and once the scroller in Inbox hits the bottom of component(Before It getting the new data) my complete parent component scrolls down. I need suggestions to prevent this happen.
javascript html css reactjs jsx
javascript html css reactjs jsx
asked Nov 9 at 17:47
shasha
175
175
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53230892%2fpreventing-scroll-in-parent-component-when-inner-component-scroll-position-reach%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown