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

QCalendarDay slowly grows in width #385

Open
septatrix opened this issue Jun 16, 2022 · 7 comments
Open

QCalendarDay slowly grows in width #385

septatrix opened this issue Jun 16, 2022 · 7 comments
Labels

Comments

@septatrix
Copy link

Codesandbox to reproduce: https://codesandbox.io/s/affectionate-dhawan-fuu3yr?file=/src/pages/Index.vue

Describe the bug
Under some weird conditions the component grows from its initial width to the maximal width permitted by the parent/CSS.

To Reproduce
Steps to reproduce the behavior:

  1. Open the codesandbox link
  2. See the error

Expected behavior
The component should have a fixed width and stay at that width

Desktop (please complete the following information):

  • OS: Linux (Fedora 36)
  • Browser: Chrome
  • Version: 102.0.5005.115 (Official Build) (64-bit)
@hawkeye64
Copy link
Member

Yes, I am aware of this. Thanks for the reproduction. I'll look into a way of resolving this when I have some extra time (which is severely limited right now)

@septatrix
Copy link
Author

Have you thought about replacing all the inline styles (width/height) with a grid layout?

In the past I had a case where I could not figure out how to fix a similar problem (probably some annoying floating-points).
After some time I gave up and refactored the styling to use a grid instead which was faster, did not have bugs and looked way more clean :D

@hawkeye64
Copy link
Member

I have thought about this. There is lots of work to be done, but I am plagued with back issues again and can barely sit in a chair.

@wdmartins
Copy link

Have anyone found a workaround for this issue?

@hawkeye64
Copy link
Member

Add a parent component (div) with a fixed height and width.

Copy link

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

1 similar comment
Copy link

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

@github-actions github-actions bot added the stale label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants