Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1951439

Summary: Scrollbar in web console does not work
Product: Migration Toolkit for Virtualization Reporter: Maayan Hadasi <mguetta>
Component: User ExperienceAssignee: Mike Turley <mturley>
Status: CLOSED ERRATA QA Contact: Maayan Hadasi <mguetta>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 2.0.0CC: apinnick, fdupont, istein, mturley
Target Milestone: ---   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-26 07:09:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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