You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've successfully coded a crude callout in a react.fc class using div's and css. This is inside an app that uses openlayers. using the map.on(pointermove event. I'm triggered on the pointer encountering a feature on the map layer, and set the position of the callout to the coordinates of the feature (a point).
I'm trying to replace the crude callout with the fluentui <Callout> tag but not having much luck. the callout and anything inside it don't seem to render at all. if I place a <Text> outside the <Callout> it renders fine a the tip of the pointer. I've put some styling on the callout like a very noticeable border, to see if it is rendering, but nothing.
I'm also getting the warning useLayoutEffect does nothing on the server...
This app would only run in a browser as a React app.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've successfully coded a crude callout in a react.fc class using div's and css. This is inside an app that uses openlayers. using the map.on(pointermove event. I'm triggered on the pointer encountering a feature on the map layer, and set the position of the callout to the coordinates of the feature (a point).
I'm trying to replace the crude callout with the fluentui
<Callout>
tag but not having much luck. the callout and anything inside it don't seem to render at all. if I place a<Text>
outside the<Callout>
it renders fine a the tip of the pointer. I've put some styling on the callout like a very noticeable border, to see if it is rendering, but nothing.I'm also getting the warning useLayoutEffect does nothing on the server...
This app would only run in a browser as a React app.
Any ideas why my
<Callout>
is not rendering?Beta Was this translation helpful? Give feedback.
All reactions