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

paper-select : parentElement is null error after using

Aperta
#1,139 27 commenti 7 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
879
Fork
327
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,

First of all: thanks for all of the work you folks do on Ember Paper!

I just upgraded ember from 3.15 to 3.17, and ember-paper from .beta.26 to .beta.29 and am having a problem with ember-select.

The drop-down has a list of states, and when you select a state you get a list of the politicians in that state. It starts out ok, and when you select a state you get the correct list of pols, but in so doing you get a `parentElement is null` error (which you can see in the console) and the app's entire UI is frozen.

Also note that in the last screenshot, the selected state, e.g. Massachusetts, does not appear in the select-box, instead the "Select A State" placeholder has "moved up" above the control and stayed there.

I have attached screenshots of the process (in order, i.e. 1_xxx, 2_yyy, 3_zzz). Here is the code that I use, which has worked for a long time - even with the new "Octane Way" of doing things.

Can someone shed some light on this? Obviously I had to back down to .beta.26 so I can use the app.

Actually, I guess I should try moving to .27 and then .28 to see exactly where this happens. I will do that and update this issue with my findings. In the meantime, here is the code that I use (it's a component):

`
{{state.name}}
<\/PaperSelect>

`

![1_InitialState](https://user-images.githubusercontent.com/89646/77232472-1e2c8f00-6b6f-11ea-9158-7dfc7c4283d5.png)
![2_States](https://user-images.githubusercontent.com/89646/77232473-1ec52580-6b6f-11ea-9012-e007fbe1b418.png)
![3_AfterSelection](https://user-images.githubusercontent.com/89646/77232474-1ec52580-6b6f-11ea-82aa-a61b721fef5a.png)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.