adopted-ember-addons / adopted-ember-addons/ember-paper

Paper chips component throws an 'focus' error with readOnly property as true

Open
#1,174 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
879
Forks
327
PR merge metrics
No merged PRs in 30d

Description

The issue can be reproduced on the demo page containing paper-chips examples.

When we change the `readOnly` property to be true and click into the paper-chips container, an error is thrown:
```
Uncaught TypeError: Cannot read property 'focus' of null
```
In my application, we still using it `ember-paper 1.0.0-beta-24` version.

I'm submitting this issue because I did notice that the error was thrown on the ember-paper examples as well.

**browser:** Google chrome (v 86.0.4240.183)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.