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

Announcements

News and Announcements icon
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

  • 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard