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

[bug]: HTML-Widget overflow-y wirkt nur temporär #197

Closed
1 task done
iAgrippa opened this issue Nov 24, 2023 · 0 comments · Fixed by #201
Closed
1 task done

[bug]: HTML-Widget overflow-y wirkt nur temporär #197

iAgrippa opened this issue Nov 24, 2023 · 0 comments · Fixed by #201
Labels
bug 🐞 Something isn't working

Comments

@iAgrippa
Copy link

iAgrippa commented Nov 24, 2023

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

Basic-HTML Widget: nach aktualisieren des Browsers [F5] verliert das Widget das vorher gesetzte Attribut "overflow-y".

Beispiel:
[ { "tpl": "tplHtml", "data": { "bindings": [], "html": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc posuere, lectus ac blandit suscipit, orci massa tincidunt felis, ac vehicula eros dolor quis magna. Cras tempor odio interdum, porta tellus eu, facilisis lectus. Suspendisse convallis arcu ut libero accumsan dignissim. Donec at malesuada diam, laoreet maximus lorem. Proin porta est at felis mattis, sit amet pulvinar nisi interdum. Suspendisse eget tristique eros, facilisis sagittis nisl. Mauris auctor convallis turpis sed posuere. In hac habitasse platea dictumst. Suspendisse ligula lectus, commodo eu arcu volutpat, consectetur placerat eros. Nullam lacinia varius porttitor. Maecenas volutpat mollis nibh eget consectetur. Fusce eu ultricies lorem. Suspendisse eu lacinia nisl.", "refreshInterval": null, "g_common": true, "g_css_border": true }, "style": { "bindings": [], "left": "503.9296875px", "top": "397.1171875px", "width": 200, "height": 130, "border-width": "1", "border-style": "solid", "border-color": "rgba(0,0,0,1)", "border-radius": null, "overflow-y": "auto" }, "widgetSet": "basic", "_id": "i000001" } ]

To Reproduce

wie beschrieben. Beispiel importieren und Browser aktualisieren.

Expected behavior

Einhaltung der Funtion

Screenshots & Logfiles

image

Adapter version

2.7.0

js-controller version

5.0.16

Node version

18.18.2

Operating system

Edge, Chrome, Firefox

Additional context

No response

@iAgrippa iAgrippa added the bug 🐞 Something isn't working label Nov 24, 2023
foxriver76 added a commit that referenced this issue Nov 25, 2023
* only apply fallback overflow if no other is specified

- closes #197

* port the Utils to tsx

* apply for other widgets too

* do not use path aliases in js

* put shared utils in vis folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant