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

fix #66: 2022.3.X Breaks dropdown #67

Merged
merged 15 commits into from
Mar 13, 2022
Merged

Conversation

regevbr
Copy link
Collaborator

@regevbr regevbr commented Feb 25, 2022

fix #66

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.
After a couple of hours, I managed to get it working, but sadly CSS and positioning stuff is where I'm no longer effective. @artem-sedykh if you can take it from here and sort out the styling it will be awesome :-)

@regevbr
Copy link
Collaborator Author

regevbr commented Feb 26, 2022

@artem-sedykh I also fixed the positioning, I believe this PR is ready to be merged and would appreciate your CR. 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 2 (as this is a breaking change).

Screencast.2022-02-26.20.49.23.mp4

@regevbr
Copy link
Collaborator Author

regevbr commented Feb 26, 2022

I'm actually having trouble in mobile view when this card is way down in the scrolled view- the fixed positioning of the drop downs doesn't take under consideration the scroll position...

@regevbr
Copy link
Collaborator Author

regevbr commented Mar 2, 2022

I'm actually having trouble in mobile view when this card is way down in the scrolled view- the fixed positioning of the drop downs doesn't take under consideration the scroll position...

It seems that those issues are resolved in the newest beta version (maybe they were related to the HA frontend)
@artem-sedykh can you please CR?

@regevbr
Copy link
Collaborator Author

regevbr commented Mar 7, 2022

To use the fix until it is released, follow the steps I made here

@acdcnow
Copy link

acdcnow commented Mar 11, 2022

@regevbr looks like that he is not working any more on that repo... guess he has other issues ... look where he is from.. Moscow RU
could you create a release in your fork?

@artem-sedykh artem-sedykh merged commit 144ec56 into artem-sedykh:master Mar 13, 2022
@regevbr regevbr deleted the beta branch March 13, 2022 20:35
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.

2022.3.X Breaks dropdown
3 participants