fix #84: 2022.3.X Breaks dropdown#85
Merged
ljmerza merged 9 commits intoljmerza:developfrom Mar 16, 2022
Merged
Conversation
Contributor
Author
|
I couldn't find a quick way to exclude certain files from being bundled with webpack, so I changed webpack to roolup. If you prefer, you can undo that, as long as you preserve the behavior. |
Contributor
Author
|
@ljmerza there is an issue though that I don't know how to fix. The menu isn't opening properly, and causing the containing card to be "stretched" like so: |
Closed
Owner
|
merging to develop so i can take a look |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


fix: #84
So according to https://developers.home-assistant.io/blog/2022/02/18/paper-elements/ all paper elements are not supported anymore starting 2022.3 and they recommend using mwc components instead. The current behavior is a complete breakdown of the dropdown menus.
The fix is based on my work on artem-sedykh/mini-climate-card#67
Need to note that this is probably will not work on previous versions of HA and as such, I added a comment in the readme and updated the version to 5 (as this is a breaking change).
@ljmerza if you can take it from here it will be awesome :-)
To use the fix until it is released, follow the steps I made here