Giter VIP home page Giter VIP logo

Comments (3)

foxriver76 avatar foxriver76 commented on June 20, 2024

Unfortunately I am not able to replicate one of these problems. The width and height of the resize text divs is actually set code-wise. And on my Teclast 20 HD with up-to-date Fully Browser + Android 10 the widget works fine. Are you able to get logs of the problem on the Android device.

Regarding the first problem, are there any texts which are larger than the actual box?

from iobroker.bring.

vowill avatar vowill commented on June 20, 2024

for 1.: There are further messages in the console which may indicate an issue (I'm not too familiar with that, sorry), e. g.

  • 12:18:13 Bring[w00389]: Render Widget - index.html?smarthome-DG:3774
  • 12:18:13 Bring[w00389]: Registered Event Handlers - index.html?smarthome-DG:3790
  • Trying to get states again, because emitted getStates still pending - conn.js:787

The last line appears for all widgets linked to my "Bring"-page in vis.

Regarding the warning message mentioned in my issue, some of the text got lost. Here it comes again (I enclosed the critical characters by '):

"Cannot resize text for item w00499-Hefezopf: Error: Set a static height and width on the target element '<'div class="item-name" style="height: calc(0.2013 * 150px);margin-top: calc(-0.0431 * 150px;"'>'Hefezopf'<'/div'>' before using textFit!"

I guess the issue comes from the negative number in the "margin-top" calculation?

from iobroker.bring.

vowill avatar vowill commented on June 20, 2024

Here comes the reason (and solution) for my issue 2 (see above: "...the browser starts the default page of vis a soon as the tablet keyboard opens"):
As reported in the ioBroker forum by user 'Wildbill' (see https://forum.iobroker.net/topic/19950/probleme-fully-browser-und-vis-app-android/5), any view marked as "default" is automatically called by Android webview (i. e. Google Chrome or Fully Browser) as soon as the keyboard opens. You need to untick the "default" box in all views, then the issue is gone.

from iobroker.bring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.