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

[ACS-6643] Incorrect layout for Search widgets of the Text type #9310

Conversation

tamaragruszka
Copy link
Contributor

@tamaragruszka tamaragruszka commented Feb 7, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
Constant width for textfield
ACS-6643

What is the new behaviour?
Textfield adjust to parent width

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@tamaragruszka tamaragruszka changed the title ACS-6643-adf-incorrect-layout-for-search-widgets-of-the-text-type [ADF] Incorrect layout for Search widgets of the Text type Feb 7, 2024
@@ -1,6 +1,5 @@
.adf-search-text {
.mat-form-field {
width: 100%;
max-width: 168px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder a bit about the bug that introduced this fix before your PR, maybe we should use hidden instead of ngIf for the clear button to ensure that layout won't "jump" in case this component is used in similar scenario as in that bug

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked in application, it's not jumping anymore

Copy link
Contributor

@MichalKinas MichalKinas Feb 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the bug was introduced in the HX app, so you would need to check it there or apply suggested changes

@tamaragruszka tamaragruszka changed the title [ADF] Incorrect layout for Search widgets of the Text type [ACS-6643] Incorrect layout for Search widgets of the Text type Feb 9, 2024
Copy link

sonarcloud bot commented Feb 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@tamaragruszka tamaragruszka merged commit c1d933e into develop Feb 9, 2024
33 checks passed
@tamaragruszka tamaragruszka deleted the ACS-6643-adf-incorrect-layout-for-search-widgets-of-the-text-type branch February 9, 2024 17:49
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