export default function bubbleEvent (event) {
  if (!event.composed) {
    event.stopPropagation()

    event.target.dispatchEvent(new event.constructor(event.type, {
      bubbles: true,
      cancelable: true,
      composed: true
    }))
  }
}
