MeasuringPolyphony / mp_editor

https://editor.measuringpolyphony.org
4 stars 2 forks source link

screen 2 enter metadata #23

Closed karend27 closed 4 years ago

karend27 commented 4 years ago

When I try to type a folio number into the top right box on the diva.js window, I get a popup saying that 'No page could be found with that label or page number', and text in uppercase letters appears in the box (see attached image):

Screen Shot 2020-04-15 at 9 00 58 AM
JRegimbal commented 4 years ago

This is strange. I'm having the same issue but it seems to work if you click on the folio number that appears below the text box. I'll keep looking into this.

JRegimbal commented 4 years ago

Oddly enough, it seems that diva replaces the text by searching for the first element with the class name active, rather than anything including diva or better yet an element's ID. And since active is a fairly generic class name, Angular uses it on the link in the top bar of the screen. I don't totally know what diva is looking for here, but this doesn't seem like good behavior here.

I'm removing the use of active as a class outside of diva.