Hello, im having some issues with the inline csui ...
# support-framework
w
Hello, im having some issues with the inline csui in some urls it will mount my component directly but in some other sites it will wait for a dom change (When I inject another extension by clicking on its icon my inline csui will be mounted) the csiu code:
Copy code
ts
import type { PlasmoContentScript, PlasmoGetInlineAnchor } from "plasmo"

export const config: PlasmoContentScript = {
  matches: ["<all_urls>"]
}

export const getInlineAnchor: PlasmoGetInlineAnchor = () =>
  document.querySelector("body")

// Use this to optimize unmount lookups
export const getShadowHostId = () => "plasmo-inline-example-unique-id"

const PlasmoInline = () => {
  return <div style={{backgroundColor:"red"}}>Custom div</div>
}

export default PlasmoInline
s
Thread automatically created by ahmedazizkhelifi in #978320682985349130
w
https://www.plasmo.com/ : the inline cs ui will be mounted directly https://thephotocenter.com/spec-sheet : the inline cs ui will wait a dom change Is this a bug? how can i make the inline csui mount directly when a page is visited
2 Views