diff --git a/AnyCompositeFields/AnyCompositeFIelds/ControlManifest.Input.xml b/AnyCompositeFields/AnyCompositeFIelds/ControlManifest.Input.xml index 582f8f7..8a32397 100644 --- a/AnyCompositeFields/AnyCompositeFIelds/ControlManifest.Input.xml +++ b/AnyCompositeFields/AnyCompositeFIelds/ControlManifest.Input.xml @@ -1,6 +1,6 @@  - + diff --git a/AnyCompositeFields/AnyCompositeFIelds/components/CompositeControl.tsx b/AnyCompositeFields/AnyCompositeFIelds/components/CompositeControl.tsx index b5ed21c..540e70c 100644 --- a/AnyCompositeFields/AnyCompositeFIelds/components/CompositeControl.tsx +++ b/AnyCompositeFields/AnyCompositeFIelds/components/CompositeControl.tsx @@ -56,7 +56,7 @@ export default class CompositeControl extends React.Component this.setState({ showCallout : false }) } + onDismiss={this.onDismissCallout} styles={calloutStyles} directionalHint={DirectionalHint.topCenter} > @@ -91,6 +91,12 @@ export default class CompositeControl extends React.Component { + if(this.props.context?.client.getClient() !== "Mobile"){ + this.setState({ showCallout : false }); + } + } + private onChangeField = (event: React.FormEvent, newValue?: string | undefined) : void => { // @ts-ignore let target = event.target.id.replace('acf_', ''); @@ -130,6 +136,7 @@ export default class CompositeControl extends React.Component