# Ignore dynamic attributes in the HTML (e.g. ARIA attributes added by Tippy.js)

**URL:** <https://discuss.prosemirror.net/t/ignore-dynamic-attributes-in-the-html-e-g-aria-attributes-added-by-tippy-js/5442>\
**Category:** Uncategorized\
**Created:** [April 17, 2023, 7:23pm UTC](https://discuss.prosemirror.net/t/ignore-dynamic-attributes-in-the-html-e-g-aria-attributes-added-by-tippy-js/5442 "2023-04-17T19:23:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bhl](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/bhl/32/4074_2.png) [@bhl](https://discuss.prosemirror.net/u/bhl)\
**Post date:** [March 5, 2024, 12:43am UTC](https://discuss.prosemirror.net/t/ignore-dynamic-attributes-in-the-html-e-g-aria-attributes-added-by-tippy-js/5442/3 "2024-03-05T00:43:54Z")

</div>

Ran into a similar issue with integrating a Radix dropdown menu with ProseMirror. When `modal=true`, the menu component uses [GitHub - theKashey/aria-hidden: 🗣Cast aria-hidden to everything, except...](https://github.com/theKashey/aria-hidden/tree/master) to add `aria-hidden` and `data-aria-hidden` to all other elements.

For some reason, only with a CodeMirror Nodeview, it causes the node selection to be lost because there are mutations pending when `domObsever.stop()` is called when view dom is blurred.

[https://i.imgur.com/PYHuykx.mp4](https://i.imgur.com/PYHuykx.mp4)

 ![image](https://discuss.prosemirror.net/uploads/secondsite/original/2X/0/01175397f11dd67eb12164893acf370d0474b941.jpeg)

There are no mutations if I don’t use a CodeMirror node view.

```tsx
	ignoreMutation() {
		return true;
	}

	stopEvent(event: Event) {
		return this.cmView && this.cmView.dom.contains((event as any).target);
	}

```

---

_[View the full topic](https://discuss.prosemirror.net/t/ignore-dynamic-attributes-in-the-html-e-g-aria-attributes-added-by-tippy-js/5442)._
