Comments (6)
Hi @hakkurishian , the project is being upgraded with the newest version of angular, rxjs, etc. It should be completed before this sunday. Thanks.
from feedback.
Hi gordonmckenzie
Thanks for your attention. I will take some time to review your advice and code. If there is no issue i will update the code asap. BTW, it is better if you can make pull request so that I could try your code directly. Thanks again!
from feedback.
The project has been upgraded as advice of @gordonmckenzie . It could be running without issue. I will publish newest package to npm later. Thanks.
from feedback.
Further to the above, there is an issue regarding the final merge of the screenshotCanvas and the mergedCanvas. It might not be the prettiest solution, but I managed to get this to work using the following modification within feedback.dialog.component.ts: -
public mergeCanvas() { this.showToolbar = false; this.detector.detectChanges(); this.appendScreenshot(); let mergedCanvas = document.createElement('canvas'); let x; let y; let ctx = mergedCanvas.getContext('2d'); if (ctx === null) { return; } x = mergedCanvas.width; y = mergedCanvas.height; mergedCanvas.width = this.screenshotCanvas.width; mergedCanvas.height = this.screenshotCanvas.height; ctx.drawImage(this.screenshotCanvas, 0, 0); ctx.drawImage(this.drawCanvas, 0, 0); this.feedback.screenshot = mergedCanvas.toDataURL('image/png'); mergedCanvas.width = x; mergedCanvas.height = y; ctx.clearRect(0, 0, mergedCanvas.width, mergedCanvas.height); ctx.drawImage(this.screenshotCanvas, 0, 0, 360, 200); ctx.drawImage(this.drawCanvas, 0, 0, 360, 200); this.feedbackService.setCanvas(mergedCanvas); }
from feedback.
Hi gordonmckenzie
Thanks for your attention. I will take some time to review your advice and code. If there is no issue i will update the code asap. BTW, it is better if you can make pull request so that I could try your code directly. Thanks again!
@RickonChen did you manage to look into it? I'm planning to use this great module in my app using Angular 6.0. In case you didn't have the time yet and won't be able to integrate it in the latest version I'd try to implement @gordonmckenzie 's changes in a pull request.
from feedback.
The ng-feedback has been uploaded to npm and find no issue after testing.
https://www.npmjs.com/package/ng-feedback
from feedback.
Related Issues (13)
- Exposing allowTaint option of html2canvas to be passed HOT 6
- Not working with Angular 8
- Not working with Angular 9.1.1
- Not working with @angular material 11
- screenshot highlight area offset HOT 7
- Custom discription template HOT 7
- Build Issue HOT 1
- After open of the feedback dialog, background of other layered component is invisible. HOT 1
- Errors when using 'Include screenshot' in Firefox HOT 1
- How to show validation message if the description is empty? | ng-feedback | v1.1.8
- Compatibility with Angular 7 HOT 2
- Build issue - Angular package format
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feedback.