New Forums interface and AllowKeyboardNavigation for Grid with scrolling

1 Answer 39 Views
Grid
Albert Shenker
Top achievements
Rank 1
Veteran
Albert Shenker asked on 27 Apr 2021, 01:10 PM

Your fancy new forums interface isn't working. If I search for "AllowKeyboardNavigation" I get lots of results. If I filter by the tag "Grid" I surprisingly get no results.

I imagine you are getting a significantly increased number of ticket submissions because of the inability to find threads.

Anyhow, my issue is this. I have a grid with 100% height and scrolling and AllowKeyboardNavigation="true". When the user toggles the arrow down key,  subsequent items in the grid are selected, which is great. However when the item is too far down to be seen w/o scrolling, the arrow key doesn't force a scroll which makes it impossible for the user to see the selected item. I'm guessing there must be some sort of property setting or method to avoid this.

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 28 Apr 2021, 12:17 PM | edited on 28 Apr 2021, 12:26 PM

 

Hi Albert,

Setting the height of HTML elements in percentage while their content is scrolling is a delicate scenario. The Grid also renders HTML elements for which the same rules apply. Here are some articles discussing that problem: 

We have also created a Public resource on that topic: Setting RadGrid's height in percentage

There are multiple factors that need to be considered, and in order to address the exact problem, we will need to replicate it.

I've tried to create a Replica of the problem you have described but I am missing some details. So far, the content of the Grid is not displayed because the Height is set to 100%, Scrolling is enabled with Static Headers.

This is what it looks like:

Considering that the Percentage height will be relative to parent elements height, and if their height is not defined explicitly, then the content will shrink down. 

Because of that, I wrap the Grid inside an element that has an implicit size. With that approach, the Keyboard navigation works with Scrolling as expected. Here is a short video: http://somup.com/crfulhFtJ0

Since I was not able to replicate the exact problem you have described, I will need more details. For example, a Live URL where I can see the problem would be enough, but you can also share an isolated version of the sample with the issue.

To make it easier, I have attached my visual studio sample and I would need you to modify this to replicate the problem and send it back to me. 

Once I see the exact issue, I would be able to give you a precise answer and instructions for a fix.

 

Update:

Regarding the Search functionality of the New Forum design. Our team is aware of the problem, we're waiting for Google to finish indexing the metadata information before searching by text or tags starts working. I cannot confirm whether the Google search index is finished, but I have tested and I was able to search by text and/or tags. You may try now and see if it works for you. If not, try force refreshing the page with the key combination of CTRL+F5. If it still doesn't work, then all we can do is wait a little more for Google to finish the indexing.

 

Regards,
Attila Antal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Answers by
Attila Antal
Telerik team
Share this question
or