Find Jobs
Hire Freelancers

close popup (by pressing back) and preserve browsers back functionality

$10-20 USD

In Progress
Posted over 3 years ago

$10-20 USD

Paid on delivery
I'm currently working on a PWA project where I need to close the popup via the back button. The popup just loads the post content of the clicked list from infinite post list UI. I'm able to achieve it via popstate like this: loadPopUp() { [login to view URL]('popup-open', null, ''); } $(window).on('popstate', function () { hidePopUp() }); The page loads post list via ajax requests on each dump of post lists. Now, the current issues I'm facing are: 1. On the first page of ajax, when the popup is clicked and the back button is pressed, the popup closes but also reloads the post lists (the ajax only, not the whole page). 2. Starting from the second page, when the popup is clicked, the back button no longer works as stays on same page even with multiple back clicks.
Project ID: 28958924

About the project

6 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi there! I can fix bugs in a day. Please send me a message for discussing. Best regards.
$25 USD in 3 days
4.4 (4 reviews)
2.1
2.1
6 freelancers are bidding on average $27 USD for this job
User Avatar
Hi sir its look like ur job is not that much hard but ur budget is to much low , I can fix ur requirement in 1 hour and I can explain ur problem also;.
$45 USD in 1 day
5.0 (81 reviews)
6.1
6.1
User Avatar
Hello. I am ready to help you. I am ready to discuss the project in more detail and get to work.
$20 USD in 1 day
4.7 (110 reviews)
6.4
6.4
User Avatar
Hey there, I guess you should set event listener breakpoints in your code and see the state of your app for each event. It might actually be a wrong function call that's disturbing your app workflow. I'd be willing to work with you to fix the bug provided you need the assistance. P.S: I would love to hear from you on how you fixed the bug
$15 USD in 1 day
5.0 (1 review)
0.8
0.8
User Avatar
Hi, I can fix this bug easily in one hour or less. Also we can look at rest of your code and make a required changes while changing this bug.. I have been coding JavaScript for a long time. To see my experience with JavaScript please check my profile.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Houston, United States
5.0
10
Payment method verified
Member since Mar 31, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.