Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Angular wizard buttons not placed at bottom of form, regression in 12.0.9 #6650

Closed
3 of 9 tasks
prymo69 opened this issue Feb 8, 2022 · 3 comments
Closed
3 of 9 tasks

Comments

@prymo69
Copy link

prymo69 commented Feb 8, 2022

Describe the bug

For clr-wizard in 12.0.9 and 12.0.10, buttons are placed directly below form instead of being locked vertically at the bottom of the form. When navigating between pages with forms of varying vertical height, the buttons move position impacting usability.

How to reproduce

  1. For any clr-wizard create a page with some default buttons.
  2. Observe buttons are not placed in bottom-right corner.

Using browser dev tools, the form content div now uses "modal-body-wrapper" whereas prior to 12.0.9 it was "modal-body". Manually changing the class on this div to "modal-body" resolves the issue. I believe this regression is a side-effect of this commit:
541c927

Only workaround found was to revert back to 12.0.8.

Expected behavior

Wizard buttons should be placed vertically at the bottom.

Versions

Clarity project:

  • Clarity Core
  • Clarity Angular/UI

Clarity version:

  • v3.x
  • v4.x
  • v5.x

Framework:

  • Angular
  • React
  • Vue
  • Other:

Framework version:
Angular 12.2.15

Device:

  • Type: PC
  • OS: Windows 10
  • Browser: Chrome
  • Version: 97.0.4692.99

Additional notes

ClarityBug

@jtruffot
Copy link

jtruffot commented Feb 9, 2022

I have the same problem with Clarity version 13.0.0. Adding this CSS rule works for me.

.clr-wizard .modal-body-wrapper {
  height: 100%;
  width: 100%;
}

@Jinnie
Copy link
Contributor

Jinnie commented Feb 17, 2022

reproducible on the website

screenshot_2022-02-17_at_13 27 37

@github-actions
Copy link

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants