Find Jobs
Hire Freelancers

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

$10-20 USD

进行中
已发布超过 3 年前

$10-20 USD

货到付款
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.
项目 ID: 28958924

关于此项目

6提案
远程项目
活跃3 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi there! I can fix bugs in a day. Please send me a message for discussing. Best regards.
$25 USD 在3天之内
4.4 (4条评论)
2.1
2.1
6威客以平均价$27 USD来参与此工作竞价
用户头像
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 在1天之内
5.0 (81条评论)
6.1
6.1
用户头像
Hello. I am ready to help you. I am ready to discuss the project in more detail and get to work.
$20 USD 在1天之内
4.7 (110条评论)
6.4
6.4
用户头像
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 在1天之内
5.0 (1条评论)
0.8
0.8
用户头像
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 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Houston, United States
5.0
10
付款方式已验证
会员自3月 31, 2018起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。