question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem in v2.0.0+ in Firefox, Safari and iOS companion app

See original GitHub issue

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

Hello, thank you for still working on this card. Apparantly there is a problem with picking up the point / moving / resizing custom zone area in firefox browsers. In Chrome and Edge browsers that’s working just fine.

Chrome: Firefox (can’t set point):

What version of a card has described problem?

v2.0.0

What was the last working version card?

No response

What vacuum model do you have problems with?

STYJ02YM

What version of Home Assistant do you use?

2021.11.3

What type of installation are you running?

Home Assistant OS

Card’s configuration

- type: custom:xiaomi-vacuum-map-card
    entity: vacuum.kraken
    map_source:
      camera: camera.vacuum_extractor_camera
    calibration_source:
      camera: true
    map_modes:
      - template: vacuum_clean_zone
      - template: vacuum_goto
    vacuum_platform: KrzysztofHajdamowicz/miio2

Javascript errors shown in the browser’s console (if applicable)

Uncaught ReferenceError: TouchEvent is not defined
    _drag http://homeassistant.local:8123/hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js:181
    render http://homeassistant.local:8123/hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js:150
    handleEvent http://homeassistant.local:8123/hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js:31

Additional information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:46 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
PiotrMachowskicommented, Nov 22, 2021

@HepoH3 @nickdos @Lyr3x @cris1410 @StWiesi

Everything should be fixed in v2.0.3, can you confirm it?

1reaction
StWiesicommented, Dec 1, 2021

@cris1410 @StWiesi You can also try to change order of map modes to make “Zone cleanup” a non-default one

That’s what I did. Makes everything work perfectly for me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox on Safari Mobile recommends Chrome or FireFox #8414
On iOS 14.5 and Firefox Daylight 33, a warning comes up that an outdated version of a supported browser is being used. "Please...
Read more >
User Agent in Safari on iPadOS | Apple Developer Forums
During authentication flow in Safari, we have a case when in order to satisfy a condition policy, user needs to install the app...
Read more >
Handling common HTML and CSS problems - MDN Web Docs
Browsers not supporting modern features. This is a common problem, especially when you need to support old browsers (such as Internet Explorer) ...
Read more >
Firefox user agent string reference - HTTP - MDN Web Docs
This document describes the user agent string used in Firefox 4 and later and applications based on Gecko 2.0 and later. For a...
Read more >
Download Firefox Browser — Fast, Private & Free - Mozilla
Get Firefox, a free web browser backed by Mozilla, a non-profit dedicated to internet health and privacy. Available now on Windows, Mac, Linux, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found