This is a migrated thread and some comments may be shown as answers.

Horizontal Scrolling within Grids

8 Answers 960 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 12 Feb 2019, 03:39 PM

Hey, 
I am not sure if this is the right spot to post, but I am implementing KendoReact. When scrolling through a grid horizontally, I am able to unintentionally sticky the scroll bar to the grid. I captured a video of me doing it on the Kendo UI for JQuery grid as well. It seems like the scrollbar can be unset by scrolling vertically, but in my case there is no vertical scroll. I'm not great with working on scrollbars, so I was wondering if anyone had any idea. Video attached below. 

Thanks

8 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 13 Feb 2019, 07:00 AM
Hello, Benjamin,

Yes, this is the correct spot for KendoReact related questions.

I assume that there was an issue attacking the video as it is not present in the post.

I will be expecting the video to observe this behavior and gladly assist further to resolve it.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Benjamin
Top achievements
Rank 1
answered on 13 Feb 2019, 04:25 PM
Here is the video. Had to edit it a little to make it less than 2mb, but this is the exact moment when the scrollbar gets stuck. Prior to to that I was just clicking and dragging on the scrollbar to try and trigger the problem.
0
Stefan
Telerik team
answered on 14 Feb 2019, 07:04 AM
Hello, Benjamin,

Thank you for the video.

Is it possible to share a KendoReact example that has the same issue, so we can observe if it is connected to a specific configuration?
I noticed that in the video the scrollbar is not visible on the right, it there is code that is hiding it as it should be shown.

Thank you in advance for cooperation.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Benjamin
Top achievements
Rank 1
answered on 15 Feb 2019, 09:56 PM
This video gif is from the kendo-ui grid frozen-columns demo. There is a scrollbar on the right for me, but it only appears when scrolling. I'll attach the snippet for the piece of code I am running that is getting the same problem. You'll notice the height of the container is the same as the height of the contents, so no vertical scrolling in this situation. 
<Grid
            resizable={true}
            reorderable={true}
            filterable={true}
            groupable={false}
            sortable={true}
            style={{height: '100%'}}
 
            total={props.activityLogStore.total}
            skip={props.activityLogStore.page && props.activityLogStore.page.skip}
            pageSize={props.activityLogStore.page && props.activityLogStore.page.take}
            pageable={true}
 
            data={toJS(props.activityLogStore.list)}
            filter={props.activityLogStore.filter}
            sort={toJS(props.activityLogStore.sort)}
 
            onDataStateChange={(event) => props.activityLogStore.find(event)}
        >
            <GridColumn field="createdAt" title="Time Stamp" filterable={false} cell={GridMomentDateCell} width="200px"
                        format="MM/DD/YYYY HH:mm:ss"/>
            <GridColumn field="emailAddress" sortable={false} title="Email" width="190px"/>
            <GridColumn field="foo" sortable={false} title="Foo" width="190px"/>
            <GridColumn field="bar" title="Bar" filter="boolean" width="175px"/>
            <GridColumn field="tags" title="Tag" sortable={false} width="190px"/>
        </Grid>
0
Stefan
Telerik team
answered on 18 Feb 2019, 07:36 AM
Hello, Benjamin,

Thank you for the code.

I made an example using a similar code and the issue is not reproducible.

Could please check the example and see if you will be able to replicate the issue on it:

https://stackblitz.com/edit/react-wrurgl?file=app%2Fmain.js

Also, please have in mind that the jQuery Grid and the React one are very different. If it is only reproduced on the jQuery version, please let me know and I will transfer this to my colleagues from the jQuery team to take a look at it.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Benjamin
Top achievements
Rank 1
answered on 19 Feb 2019, 03:31 PM

Hey Thanks for the example Stefan. I am able to reproduce the bug on the stackblitz. It only is happening to me on google chrome. I'm also using a mac with a touchpad. It takes me about a minute or two of just alternating between dragging the scrollbar and pulling it around with my touchpad. Let me know if there is any other info I can provide. 

0
Benjamin
Top achievements
Rank 1
answered on 19 Feb 2019, 10:09 PM
After testing this issue on other websites that don't use kendo, it appears to be a bug related to chrome and my os. No more assistance needed.
0
Stefan
Telerik team
answered on 20 Feb 2019, 07:22 AM
Hello, Benjamin,

Thank you for sharing this finding with us and the KendoReact community.

I'm sure that they can prove helpful to anyone with a similar setup.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Benjamin
Top achievements
Rank 1
Share this question
or