web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to copy inside ...
Power Apps
Unanswered

Unable to copy inside html body of Fluent UI Modal in Mobile (Dynamics 365 wave 2)

(0) ShareShare
ReportReport
Posted on by 10

Hi,

 

We have added Fluent UI Modal in our PCF control, in that we have a button that copy inside html body of Fluent UI Modal.

 

It works properly in desktop, but not work in mobile (Dynamics 365 wave 2).

 

You can check with long press on the html body content inside the  Fluent UI Modal.

 

Thanks

I have the same question (0)
  • ScottDurow Profile Picture
    1,039 on at

    Can you post some code to show how to reproduce this issue in a simple PCF control?

  • Hemant Gaur Profile Picture
    on at

    I got the email for this and here is the summary of the change (from mobile team). 

    As part of the mobile app UX improvements it was decided to disable text selection for all of our UI elements (overlays / modals / flyouts... etc) to ensure having a native-like experience for our app, and opt-in into text selection manually if needed by using the css rule: user-select: initial; or user-select: all. (similar to how the Native TextView control works on iOS and Android platforms)

     

    Text selection by default is enabled for the UCI Page content to allow users to highlight and copy/paste content manually if needed. This particular PCF control's copies text using DOM's text selection range, recommendation for the control author is to opt-in and enable text selection explicitly for their content div/td element using the user-select CSS rule.

     

    Let me know if you see any issues.

     

    hemant 

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard