Git Product home page Git Product logo

phuocng's Introduction

Hey, I'm Phuoc Nguyen! ๐Ÿ‘‹

I'm a software engineer from Vietnam ๐Ÿ‡ป๐Ÿ‡ณ.

In my free time, I enjoy playing football โšฝ with my co-workers and Nintendo games ๐ŸŽฎ with my kids.

I also take care of my Border Collie ๐Ÿ•. Here's a little secret: my zodiac sign is the dog.

I hope you find useful things in this digital space ๐Ÿš€.

Collections ๐Ÿš€

Check out this list of series that cover various topics in front-end development. They're incredibly useful for both learning and your day-to-day work, just like they are for me.

Best of all, they're all free and open to contributions. If you find them helpful, please consider giving them a GitHub star ๐Ÿ˜. Your support is greatly appreciated!

My top JavaScript utilities, in just One Line of Code!

Common ways to solve cross-browser compatibility problems

Awesome CSS animations: examples of stunning animations without external libraries

A collection of popular CSS layouts and patterns that you can use right away

Front-End development mastery: simple tips, tricks, and best practices

Mastering DOM manipulation with vanilla JavaScript

Understanding the difference between หหห and หหห in front-end development

In-depth series ๐Ÿงช

Are you a front-end engineer looking to take your skills to the next level? Then you're in luck! I'm excited to present to you our in-depth series covering advanced techniques and patterns in front-end development.

Our series is designed to provide you with real-life examples that you can use for your applications. We understand that learning can be a daunting task, which is why we've curated our content to be both engaging and informative. You won't find any boring material here!

In this series, we'll cover a range of topics, including advanced CSS, JavaScript, as well as popular front-end libraries. Our goal is to help you become a more well-rounded and skilled front-end developer.

It's important to follow the posts in the correct order, starting from the first one and working your way to the last. There are some important techniques introduced in between that you won't want to miss.

Enhancing user experience through text area mirroring

Your complete guide to mastering the use of "ref" in React

Master the art of drag and drop in React

Questions? ๐Ÿ™‹

Do you have any questions about front-end development that you'd like to learn more about? Shoot me a message on Twitter or assign me a new issue.

I've got a long list of upcoming posts, but I want to make sure I'm covering the topics that you're most interested in. Let's learn together! Sharing knowledge is the best way to grow in this field ๐Ÿฅท.

Contact

phuocng's People

Contributors

phuocng avatar

Stargazers

3vo avatar  avatar Daniel Banjanin avatar Kamilah Taylor avatar  avatar Tan Tong avatar Patryk Adamczyk avatar

Watchers

 avatar

phuocng's Issues

@react-pdf-viewer/zoom works incorrectly when zoomTo function is called by an event.

Description
The zoomTo function called by an event caused the gap on the top of the page.
Preconditions:

  • initialPage is 2;
  • defaultScale is 1
  • scrollMode is 'Page'

Screenshot from 2024-02-26 16-17-51

Steps to reproduce:

  • Trigger the zoomTo function by a webSocket event.

Screenshot from 2024-02-26 16-13-10

Actual result
The gap in on the top of the document. The old updateOffset value was passed to the scrollTo function.
Expected result
The page is magnified and scrolled to the top.

Screenshot from 2024-02-26 15-29-31

document.gap.mp4

to get developer support for paid pdf viewer

Hi, I would like to implement a paid version of the pdf viewer in my application. If i purchase your product, will i get ongoing support to add new features and to know about existing ones.

Bug: wrong html tag

Hi Phuoc, thank you for writing great articles.

I was checking out your post Get or set the cursor position in a contentEditable element. And I found a html tag was wrong. It should change button to span as the image below shown.

ๆˆชๅœ– 2024-01-03 ไธ‹ๅˆ3 04 06

Once the tag changed into span, the thing was getting interesting. The number of the position would become incorrect. As my case, it would be 16 while the caret was at the very beginning of the article.

ๆˆชๅœ– 2024-01-03 ไธ‹ๅˆ3 11 16

@react-pdf-viewer - zoom doesn't work on android 13+

Hello, I hope you are doing good.

I have this project in our company, we are creating a comics web app and we opted to use your product as the document viewer. However, I faced a challenge with the zoom function from defaultLayout. It works on Android 12 and below. I had to implement a custom button to request the full-screen web browser API.

I also have trouble getting/customizing the default layout toolbar more action
image

Why do you use mirroredElem in Autocomplete...?

Hi Phuoc.

Just to say what a great collection you have. I found your Autocomplete solution via Google and it's great. I always strive for simplicity and I found other similar solutions where people use so much code for something quite straightforward, and then I found your excellent example :)

Now to my question. Why do you use mirroredEle in this solution? First I thought that you use it to show formatted text, ex to highlight replaced words with css. Can you explain your idea behind it, thanks?

Fullscreen bookmark not working

const defaultLayoutPluginInstance = defaultLayoutPlugin({
toolbarPlugin: {
fullScreenPlugin: {
getFullScreenTarget: (pagesContainer) => pagesContainer.closest('[data-testid="default-layout__body"]'),
renderExitFullScreenButton: (props) => <></>,
},
},
});

As stated in the document, I can add the toolbar in full screen, but the sidebar that appears in normal view does not appear in full screen. I need a solution urgently.

Data tracking and EU-RGPD ?

Hello,

First, thank you for building such a great tools!

I am interested in using React PDF Viewer, but I have to verify two points:

  • Does it collect, store, or track any user data ?
  • Is it EU RGPD compliant ?

Thank you in advance.

@react-pdf-viewer - Support gesture(pinch) zoom on mobile devices

Hi,

This is not an issue, but more a question for a feature request. Is it planned to support gesture zoom on mobile devices ? Or could I use a library like React Zoom Pan Pinch to achieve this ? How would that interfere with current zoom functionality ?

Thanks,
Razvan.

"Build an OTP input field" Suggestion

Hey, nice article! I don't know where else to submit this, thought it might be a good addition to make the keyboard show only digits when using it on mobile. I read the article on my phone so I noticed my keyboard not playing nice when trying the demo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.