Skip to main content

Notifications

Community site session details

Community site session details

Session Id : qQwLrtQN0AKZSiK+KU7THe
Power Apps - Power Apps Pro Dev & ISV
Unanswered

PowerApps Editor Freezes on Drag & Drop of PCF Control (Meal Invoice Generator)

Like (1) ShareShare
ReportReport
Posted on 14 Mar 2025 16:56:19 by 155

Hi everyone,

 

I'm experiencing a major issue with my custom PCF control, Meal Invoice Generator, where the entire PowerApps editor freezes whenever I try to drag and drop the component onto the canvas.

What the Control Does

This control is designed to generate PDF invoices from meal data. It processes and summarizes employee meal information—including total meals, total cost, and half cost—and even provides a date-wise breakdown. The control uses:


  • React and ReactDOM (installed at version 16.14.0)

  • jsPDF (v2.x) for PDF generation

  • jspdf-autotable to generate tables in the PDF


  •  

Issue Details


  • Before the Update: The control worked fine without any issues.

  • After the Update: As soon as I attempt to drag and drop the control into the PowerApps editor, the entire editor freezes.

  • Troubleshooting: I created a minimal version of the control that only renders a basic React component (a heading and a button). However, even this simplified control causes the editor to freeze when dragged and dropped.


  •  

What I've Tried


  • Simplification: Reduced the control to its simplest form to isolate the problem.

  • Dependency Check: Confirmed that React and ReactDOM are installed at version 16.14.0, and I've verified the versions of jsPDF and jspdf-autotable.

  • Error Messages: No specific error messages are provided apart from the freeze.

  •  

Has anyone encountered a similar issue after the recent PowerApps update? Is there a known incompatibility or workaround when using these libraries in a PCF control?

Any guidance or suggestions would be greatly appreciated. Thanks in advance for your help!

NB: I can provide any files related to this project

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,431 Most Valuable Professional

Leaderboard
Loading started