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

UIIN-2690 Don't render Fast Add record modal in a <Paneset> to re-calculate other <Pane>'s widths after closing #2347

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

BogdanDenis
Copy link
Contributor

@BogdanDenis BogdanDenis commented Nov 14, 2023

Description

Don't render Fast Add record modal in a <Paneset> to re-calculate other <Pane>'s widths after closing

Approach

When a nested <Paneset> is unmounted - it prevents parent panesets width recalculation. The solution is to not render a wrapping <Paneset>

Screenshots

chrome_YCyAjdWTWi.mp4

Issues

UIIN-2690

Related PRs

folio-org/ui-plugin-create-inventory-records#152

…alculate other `<Pane>`'s widths after closing
Copy link

github-actions bot commented Nov 14, 2023

Jest Unit Test Statistics

    1 files  ±0  228 suites  ±0   15m 8s ⏱️ +27s
903 tests ±0  901 ✔️ ±0  2 💤 ±0  0 ±0 
908 runs  ±0  906 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit 7be0c18. ± Comparison against base commit ca56cd5.

♻️ This comment has been updated with latest results.

@BogdanDenis BogdanDenis requested a review from a team November 14, 2023 13:45
@BogdanDenis
Copy link
Contributor Author

@folio-org/fe-tl-reviewers please review

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@BogdanDenis BogdanDenis merged commit cec8706 into master Nov 16, 2023
4 checks passed
@BogdanDenis BogdanDenis deleted the UIIN-2690 branch November 16, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants