Bug 1951439 - Scrollbar in web console does not work
Summary: Scrollbar in web console does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: User Experience
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 2.1.0
Assignee: Mike Turley
QA Contact: Maayan Hadasi
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-20 07:02 UTC by Maayan Hadasi
Modified: 2021-08-26 07:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-26 07:09:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:3278 0 None None None 2021-08-26 07:09:19 UTC

Description Maayan Hadasi 2021-04-20 07:02:21 UTC
Description of problem:
When you open the target namespaces dropdown list in migration plan wizard an internal scrollbar is showed - the problem is that it cannot be used for scrolling down/up and clicking on it is like to click in any blank point in the page, the scrollbar disappears

Workaround: to scroll down/up with the mouse wheel


Version-Release number of selected component (if applicable):
MTV 2.0.0-17 / iib:66911


How reproducible:
100%


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Mike Turley 2021-04-20 10:20:11 UTC
This appears to be a bug in PatternFly. I can reproduce it in all of the Select and Dropdown examples here: https://www.patternfly.org/v4/components/select

We may be able to work around it, but it would be better to fix it upstream in PF. I'll investigate how difficult it would be to work around for 2.0.0.

Comment 2 Mike Turley 2021-04-21 15:28:26 UTC
After investigating, I think we cannot fix this without some kind of fix in PatternFly, and it is unclear how to fix it there as well. The Select component must close itself when the user clicks away, and it does this by handling a click anywhere in the document. Clicking the scrollbar triggers that same document click handler, without a clear way to distinguish that the click is on the scrollbar.

I opened an issue in PF: https://github.com/patternfly/patternfly-react/issues/5703, I'd like to target this for 2.1.0 but it may be impossible to cleanly fix.

Comment 3 Mike Turley 2021-05-11 15:47:43 UTC
A fix has been identified in PF upstream, so we'll likely be able to resolve this for 2.1.0

Comment 4 Fabien Dupont 2021-06-23 21:34:04 UTC
@mturley have you been able to fix this in 2.1.0?

Comment 5 Mike Turley 2021-06-23 21:46:14 UTC
Was fixed upstream in PF by https://github.com/patternfly/patternfly-react/pull/5766, which we pulled in with one of our recent dependency upgrade PRs.

Comment 6 Fabien Dupont 2021-06-24 21:51:30 UTC
Please test with the mtv-operator-bundle-2.1.0-5 build / iib:85044.

Comment 7 Maayan Hadasi 2021-07-07 07:59:51 UTC
Verified as fixed.
The internal scrollbar was removed. The full list is shown once clicking on the dropdown so the regular scrollbar can be used for scrolling down/up


Versions:
MTV 2.1.0-21 iib 88402
CNV 4.8.0-451 iib 86746
OCP 4.8.0-rc.1

Comment 10 errata-xmlrpc 2021-08-26 07:09:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Migration Toolkit for Virtualization 2.1.0), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:3278


Note You need to log in before you can comment on or make changes to this bug.