I'm not sure of something else is causing this, but I have a custom taxonomy named "Categories" for a custom post type that I created.
I added two rich_text fields to the taxonomy term fields.
Container::make( 'term_meta', __( 'Term Options', 'crb' ) )
->where( 'term_taxonomy', '=', 'my_cpt_category' )
->add_fields( array(
Field::make( 'rich_text', 'my_cpt_category_description', __( 'Description', 'somedomain' ) )
->set_rows( 8 ),
Field::make( 'rich_text', 'my_cpt_category_footer', __( 'Category Footer Text', 'somedomain' ) )
->set_rows( 8 )
)
);
When I visit the taxonomy page and then refresh or click _any_ link, it gives me the "Do you want to leave this site? Changes you made may not be saved." popup. I have changed nothing, and it happens by simply visiting the taxonomy editor page and then immediately hitting refresh (I am not hitting any other keys - I have tried it multiple times).
Any idea if this is something with my setup, or maybe a bug?
Crude illustration (pardon the relative size of the JS popup - it was quick & dirty):

Update: This does not appear to happen on Firefox 55 for me - only Chrome. When I load the page in FF, the focus is set the the first field (Name), but even if I change the focus to the rich_text field, I can refresh and/or click a link without the popup.
Update 2: Curiously, I just tried the page in Vivaldi (which uses Blink for rendering, as Chrome) and I don't get the popup. I have not tried it on Windows/Edge yet, but I did confirm that another user (also OS X Sierra) is getting the same behavior in Chrome. I will try on Edge (as well as a clean install using the same plugin) on a clean install later tonight.
Thank you,
Daniel
Hi @dmhendricks ,
We have a fix for this in our development branch (5e3399b470e9ea8bb82b14fdd669e315a58b3cc4 + dd7eb004df426f5ab77b173b210e8e6c7adf817a). The fix will make it into the next patch version - I will close this issue when it's live.
Ok, thank you A.
Fixed in 2.1.1 - closing.
Most helpful comment
Hi @dmhendricks ,
We have a fix for this in our
developmentbranch (5e3399b470e9ea8bb82b14fdd669e315a58b3cc4 + dd7eb004df426f5ab77b173b210e8e6c7adf817a). The fix will make it into the next patch version - I will close this issue when it's live.