pnp / sp-dev-fx-property-controls

Reusable SPFx property pane controls - Open source initiative
https://pnp.github.io/sp-dev-fx-property-controls/
MIT License
235 stars 150 forks source link

PropertyFieldCodeEditor: Text selection issue #599

Open salascz opened 8 months ago

salascz commented 8 months ago

Category

Version

Please specify what version of the library you are using: [v3.15.1]

Expected / Desired Behavior / Question

It looks it is not possible to select a text within the code editor using the mouse. This was not working for 3.14.0, but it worked for 3.12.0 -> maybe something changed in ace-editor (the library seems to be updated)?

I tried to set ace-editor options (selectionStyle: 'text'), but it did not help.

Observed Behavior

Selection works on keyboard only

Steps to Reproduce

Add PropertyFieldCodeEditor to an empty solution - the content is not selectable using th mouse

Thanks

ghost commented 8 months ago

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