Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miq.notifications - update accordion sizing when opening/closing an accordion #2270

Merged
merged 1 commit into from
Oct 3, 2017
Merged

miq.notifications - update accordion sizing when opening/closing an accordion #2270

merged 1 commit into from
Oct 3, 2017

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Oct 2, 2017

Opening/closing notifications triggers a resize which causes the styling to update correctly..
but expanding/closing a notification group does not do the same.

Thus, the styling only fits until one expands an accordion.

This makes notifications trigger a resize event every time a notification group is collapsed or expanded -> the scrollbar should always appear now.

This pretty much fits what the current version in angular-patternfly does.

https://bugzilla.redhat.com/show_bug.cgi?id=1445762
https://bugzilla.redhat.com/show_bug.cgi?id=1445689

…ccordion

opening/closing notifications triggers a resize which causes the styling to update correctly..

but expanding/closing a notification group does not do the same.

Thus, the styling only fits until one expands an accordion.

This makes notifications trigger a `resize` event every time a notification group is collapsed or expanded -> the scrollbar should always appear now

https://bugzilla.redhat.com/show_bug.cgi?id=1445762
@miq-bot
Copy link
Member

miq-bot commented Oct 2, 2017

Checked commit https://github.com/himdel/manageiq-ui-classic/commit/a75d94b502e694e23f40fe09f74b634b1aab0a58 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 🍪

@martinpovolny martinpovolny self-assigned this Oct 3, 2017
@martinpovolny martinpovolny merged commit 1b72a2b into ManageIQ:master Oct 3, 2017
@martinpovolny martinpovolny added this to the Sprint 71 Ending Oct 16, 2017 milestone Oct 3, 2017
@himdel himdel deleted the notification-update-bz1445762 branch October 3, 2017 13:19
simaishi pushed a commit that referenced this pull request Nov 13, 2017
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit e4b17e83d89ce6fc1b6934143f5f8e52e857f010
Author: Martin Povolny <[email protected]>
Date:   Tue Oct 3 09:25:35 2017 +0200

    Merge pull request #2270 from himdel/notification-update-bz1445762
    
    miq.notifications - update accordion sizing when opening/closing an accordion
    (cherry picked from commit 1b72a2b16f6e2362105fad3bfb97083b3afa38a9)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1498525
    https://bugzilla.redhat.com/show_bug.cgi?id=1498524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants