Primefaces: Tree: Can't scroll in MS Edge / Internet Explorer with max-height

Created on 13 Apr 2018  路  5Comments  路  Source: primefaces/primefaces

1) Environment

  • Only happens in Microsoft Edge and Internet Explorer 11. Firefox and Chrome are ok.
  • Only happens if you click in the down arrow of the scroll, if you use the mouse scroll it's ok.
  • It happens in the primefaces showcase 6.2, Tree component.
  • PrimeFaces version: 6.2
  • Does it work on the newest released PrimeFaces version? Bug occurs. Version? 6.2

  • Application server + version: JBOSS 7.2

  • Affected browsers:
    IE11, Edge.

2) Expected behavior

Scroll all the way down.

3) Actual behavior

If you set a max-height to the tree container, when you try to scroll down the scroll it will never reach bottom, it will jump back after some clicks.
tree-scroll-issue

4) Steps to reproduce

It happens in the primefaces showcase 6.2.

  • Configure a tree with a max-height.
  • Scroll down by clicking in the down arrow.
  • The scroll will never reach bottom.
  • If you use the mouse scroll it works ok.

5) Related

The following new feature when implemented may solve the issue:
https://github.com/primefaces/primefaces/issues/15

browser-specific duplicate

All 5 comments

This problem is caused by the focus event. Chrome is not getting the focus, but IE and Microsoft Edge.

I'm working on this PR for 15 .

Thank you @HuseyinTurkmenoglu

You are welcome,

I think, PR ready https://github.com/primefaces/primefaces/pull/3610

I checked all browsers.

Thank you again @HuseyinTurkmenoglu, I hope the PR is accepted.

No longer an issue in Edge Version 83.0.478.44 (Official build) (64-bit).

IE11 issues probably won't get any attention without a PRO sponsered fix. Also since Issue #15 is still open addressing this issue I will mark this as a duplicate.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matthiasblaesing picture matthiasblaesing  路  5Comments

melloware picture melloware  路  5Comments

f-r-a-n-s picture f-r-a-n-s  路  4Comments

macbyte0815 picture macbyte0815  路  3Comments

cagataycivici picture cagataycivici  路  5Comments