Billboard.js: Grouped selection with multiple: false throws error

Created on 13 Jun 2018  路  1Comment  路  Source: naver/billboard.js

Description

Passing the following configs causes an error:

data: {
      selection: {
        enabled: true,
        grouped: true,
        multiple: false
      }
}

Error after clicking on a point:

Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Element': '..bb-shapes-data1' is not a valid selector.

Seems like an additional . is added causing an invalid selector.

Steps to check or reproduce

Click on one of the points in the example below. Observe the console.
Example: https://codepen.io/ktan/pen/Pamvrb

bug

Most helpful comment

HI @thektan, thanks for the report. I'll try to fix that.

>All comments

HI @thektan, thanks for the report. I'll try to fix that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bogdan-iuga picture bogdan-iuga  路  3Comments

matthiaskomarek picture matthiaskomarek  路  4Comments

planttheidea picture planttheidea  路  4Comments

drazik picture drazik  路  4Comments

gyuhyeon picture gyuhyeon  路  3Comments