sp-dev-fx-property-controls icon indicating copy to clipboard operation
sp-dev-fx-property-controls copied to clipboard

certain custom components in onCustomRender not functioning as expected

Open cygnus-dawn opened this issue 3 years ago • 2 comments

Category

  • [x] Enhancement
  • [ ] Bug
  • [ ] Question

Version

Please specify what version of the library you are using: [3.7.0]

Expected / Desired Behavior / Question

When using custom render prop to render a 3rd party react text editor (TinyMCE), sub modals that get produced under that component should work properly

Observed Behavior

TinyMCE has problems with focus when being used inside modal-like elements and input fields aren't selectable

Steps to Reproduce

Use TinyMCE v5 on as a custom field for custom render and try a plugin such as inserting links, embedding, etc.

Reason why I marked it as an enhancement is that I have a workaround and that was cloning the source and adding an additional prop to the Panel component being used in PropertyFieldCollectionDataHost.tsx

focusTrapZoneProps={ disabled=true, disableFirstFocus=true }

Can an additional prop be made in the collection data interface to pass in custom Panel props?

cygnus-dawn avatar May 26 '22 20:05 cygnus-dawn

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msftbot[bot] avatar May 26 '22 20:05 msftbot[bot]