We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 234c412 commit f56d190Copy full SHA for f56d190
browser/src/router.ts
@@ -167,7 +167,8 @@ export class Router {
167
}
168
169
private preventDocumentScroll(event:any) {
170
- if (event.target.outerHTML.toLowerCase().includes('igx')) {
+ const eventPath = event.composedPath();
171
+ if (event.target.outerHTML.toLowerCase().includes('igx') && eventPath.filter(x => x.classList?.value === 'igx-grid__tbody').length > 0) {
172
event.preventDefault();
173
174
0 commit comments