{"size": 15158, "ext": "js", "max_stars_repo_path": "ForumArchive/acc/post_38130_page_1.js", "max_stars_repo_name": "doc22940/Extensions", "max_stars_repo_stars_event_min_datetime": "2015-01-01T17:33:35.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-26T16:38:08.000Z", "max_issues_repo_path": "ForumArchive/acc/post_38130_page_1.js", "max_issues_repo_name": "doc22940/Extensions", "max_issues_repo_issues_event_min_datetime": "2015-06-20T00:39:16.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T22:55:27.000Z", "max_forks_repo_path": "ForumArchive/acc/post_38130_page_1.js", "max_forks_repo_name": "doc22940/Extensions", "max_forks_repo_forks_event_min_datetime": "2015-04-29T09:50:11.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-18T09:20:44.000Z"}
{"max_stars_count": 136, "max_issues_count": 60, "max_forks_count": 141, "avg_line_length": 15158.0, "max_line_length": 15158, "alphanum_fraction": 0.8491885473}
[{"Owner":"Lary","Date":"2018-06-09T15:35:03Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tI_t_m sorry for making the title that long....and also my content will be...\n_lt_/p_gt_\n\n_lt_p_gt_\n\tRecently I_t_m quite tortured by a tricky problem_co_ mainly on _lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt__lt_strong_gt_iOS mobile_lt_/strong_gt__lt_/span_gt__co_ things are like this...\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI inserted a Babylonjs project into a third-party homepage through iframe tags.  As you know_co_ the home page has header_co_ footer_co_ another content and the iframe part.\n_lt_/p_gt_\n\n_lt_p_gt_\n\t_lt_u_gt_When I scroll to the iframe part_co_ and want to interact with the canvas_co_ as long as I tap the canvas_co_ the page jumps to the bottom immediately. Strange! _lt_/u_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\t_lt_u_gt_I scroll back_co_ and continue to pinch_co_ rotate the canvas_co_ it goes normally (do not touch other part_co_ only the canvas after jumping). _lt_/u_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\t_lt_u_gt_As long as I have tapped the UI_co_ and then tap the canvas_co_ history will happen again.  _lt_/u_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI tried other projects (also build with Babylonjs)， some will not have this problem. So I made a detailed comparison_co_ excluding the potential problem raised by html _co_css.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThe main difference might be the version of Babylon.js.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThe ones that have jumping problems use the _lt_a href_eq__qt_https_dd_//qcloud.dim3d.xyz/forreall/js/babylonjs/3.1/babylon.3.1.1.min.js_qt_ rel_eq__qt_external nofollow_qt__gt__lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt_babylon.3.1.1.min VERSION_lt_/span_gt__lt_/a_gt_ _co_ while those don_t_t have problem_co_ use_lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt_ _lt_/span_gt__lt_a href_eq__qt_https_dd_//qcloud.dim3d.xyz/forreall/js/babylonjs/tempo/babylon.js_qt_ rel_eq__qt_external nofollow_qt__gt__lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt_this Version_lt_/span_gt__lt_/a_gt_ _co_ it_t_s compressed and I forgot the version now.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tCan anybody tell which version the latter is? and what_t_s difference between them_co_ especially about issues like canvas focus_co_ tapping event on iOS...\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThe test link that having the problem is _lt_a href_eq__qt_http_dd_//robam.yesshang.cn/product/productinfo/122.html_qt_ rel_eq__qt_external nofollow_qt__gt__lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt_this_lt_/span_gt__lt_/a_gt_ _co_ the visit speed might be slow out of China. But the problem will be like what I mentioned above.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI guess it_t_s something about _lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt__lt_strong_gt_canvas.focus(). _lt_/strong_gt__lt_/span_gt__lt_span_gt_but not sure..I know you guys are more experienced and smarter. _lt_/span_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI would really appreciate!!!!!!!!\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_video controls class_eq__qt_ipsEmbeddedVideo_qt_ data-controller_eq__qt_core.global.core.embeddedvideo_qt_ data-fileid_eq__qt_18651_qt__gt_\n\t_lt_source src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/monthly_2018_06/1394456178_5e2233d9ce8a56b9700997ac243d5838(1).mp4.fd43862c744d94d05136cea9d04cea28.mp4_qt_ type_eq__qt_video/mp4_qt__gt_\n\t_lt_a class_eq__qt_ipsAttachLink_qt_ href_eq__qt_//www.html5gamedevs.com/applications/core/interface/file/attachment.php?id_eq_18651_qt__gt_5e2233d9ce8a56b9700997ac243d5838 (1).mp4_lt_/a_gt_\n_lt_/video_gt_\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Lary","Date":"2018-06-09T15:39:12Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\t_lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/5733-wingnut/?do_eq_hovercard_qt_ data-mentionid_eq__qt_5733_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/5733-wingnut/_qt_ rel_eq__qt__qt__gt_@Wingnut_lt_/a_gt__lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/?do_eq_hovercard_qt_ data-mentionid_eq__qt_4442_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/_qt_ rel_eq__qt__qt__gt_@Deltakosh_lt_/a_gt_   SOS~~Please help!\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Wingnut","Date":"2018-06-09T15:56:43Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHi Lary.  _qt_Fast service_qt_ is our middle name.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThis is a browser issue_co_ and not BJS_co_ but we like to help with canvas things_co_ too.\n_lt_/p_gt_\n\n_lt_p_gt_\n\t_lt_a href_eq__qt_https_dd_//stackoverflow.com/questions/48603670/how-to-prevent-scroll-when-clicking-on-html-canvas-for-the-first-time?utm_medium_eq_organic&amp_sm_utm_source_eq_google_rich_qa&amp_sm_utm_campaign_eq_google_rich_qa_qt_ rel_eq__qt_external nofollow_qt__gt_Check-out this stackOverflow subject._lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tIn brief... document.getElementById(_qt_myWebGLCanvas_qt_).focus({_lt_strong_gt_preventScroll_dd_true_lt_/strong_gt_})_sm_    ...might work.  Good luck_co_ report back - thx.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Lary","Date":"2018-06-09T16:13:46Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_blockquote class_eq__qt_ipsQuote_qt_ data-ipsquote_eq__qt__qt_ data-ipsquote-contentapp_eq__qt_forums_qt_ data-ipsquote-contentclass_eq__qt_forums_Topic_qt_ data-ipsquote-contentcommentid_eq__qt_217594_qt_ data-ipsquote-contentid_eq__qt_38130_qt_ data-ipsquote-contenttype_eq__qt_forums_qt_ data-ipsquote-timestamp_eq__qt_1528559803_qt_ data-ipsquote-userid_eq__qt_5733_qt_ data-ipsquote-username_eq__qt_Wingnut_qt__gt_\n\t_lt_div class_eq__qt_ipsQuote_citation_qt__gt_\n\t\t16 minutes ago_co_ Wingnut said_dd_\n\t_lt_/div_gt_\n\n\t_lt_div class_eq__qt_ipsQuote_contents_qt__gt_\n\t\t_lt_p_gt_\n\t\t\tHi Lary.  _qt_Fast service_qt_ is our middle name.\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tThis is a browser issue_co_ and not BJS_co_ but we like to help with canvas things_co_ too.\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\t_lt_a href_eq__qt_https_dd_//stackoverflow.com/questions/48603670/how-to-prevent-scroll-when-clicking-on-html-canvas-for-the-first-time?utm_medium_eq_organic&amp_sm_utm_source_eq_google_rich_qa&amp_sm_utm_campaign_eq_google_rich_qa_qt_ rel_eq__qt_external nofollow_qt__gt_Check-out this stackOverflow subject._lt_/a_gt_\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tIn brief... document.getElementById(_qt_myWebGLCanvas_qt_).focus({_lt_strong_gt_preventScroll_dd_true_lt_/strong_gt_})_sm_    ...might work.  Good luck_co_ report back - thx.\n\t\t_lt_/p_gt_\n\t_lt_/div_gt_\n_lt_/blockquote_gt_\n\n_lt_p_gt_\n\tHi Wingnut_co_ you_t_re faster than the flash！ Will try that_co_ thanks first!\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Lary","Date":"2018-06-10T16:24:56Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_blockquote class_eq__qt_ipsQuote_qt_ data-ipsquote_eq__qt__qt_ data-ipsquote-contentapp_eq__qt_forums_qt_ data-ipsquote-contentclass_eq__qt_forums_Topic_qt_ data-ipsquote-contentcommentid_eq__qt_217594_qt_ data-ipsquote-contentid_eq__qt_38130_qt_ data-ipsquote-contenttype_eq__qt_forums_qt_ data-ipsquote-timestamp_eq__qt_1528559803_qt_ data-ipsquote-userid_eq__qt_5733_qt_ data-ipsquote-username_eq__qt_Wingnut_qt__gt_\n\t_lt_div class_eq__qt_ipsQuote_citation_qt__gt_\n\t\tOn 6/9/2018 at 11_dd_56 PM_co_ Wingnut said_dd_\n\t_lt_/div_gt_\n\n\t_lt_div class_eq__qt_ipsQuote_contents_qt__gt_\n\t\t_lt_p_gt_\n\t\t\tHi Lary.  _qt_Fast service_qt_ is our middle name.\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tThis is a browser issue_co_ and not BJS_co_ but we like to help with canvas things_co_ too.\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\t_lt_a href_eq__qt_https_dd_//stackoverflow.com/questions/48603670/how-to-prevent-scroll-when-clicking-on-html-canvas-for-the-first-time?utm_medium_eq_organic&amp_sm_utm_source_eq_google_rich_qa&amp_sm_utm_campaign_eq_google_rich_qa_qt_ rel_eq__qt_external nofollow_qt__gt_Check-out this stackOverflow subject._lt_/a_gt_\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tIn brief... document.getElementById(_qt_myWebGLCanvas_qt_).focus({_lt_strong_gt_preventScroll_dd_true_lt_/strong_gt_})_sm_    ...might work.  Good luck_co_ report back - thx.\n\t\t_lt_/p_gt_\n\t_lt_/div_gt_\n_lt_/blockquote_gt_\n\n_lt_p_gt_\n\tHi Wingnut_co_ the method by setting the canvas.focus({preventScroll_dd_true}) seems not workable....Sorry about that_co_ anyway thanks again.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tBut I tried replacing the babylonjs version (_lt_strong_gt__lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt_babylon.3.1.1.min.js._lt_/span_gt__lt_/strong_gt_) that has the scrolling problem with that not having the problem (_lt_span style_eq__qt_color_dd_#e74c3c_sm__qt__gt__lt_strong_gt_Babylon.js engine (v3.1-alpha)_lt_/strong_gt__lt_/span_gt_)_co_ it works well.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tSo I can partially confirm that there_t_s difference in both versions that affecting the canvas focus.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI need to look into it_co_ I would be much appreciate if you could supply some information.\n_lt_/p_gt_\n\n_lt_p_gt_\n\t_lt_img alt_eq__qt__dd_D_qt_ data-emoticon_eq__qt__qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_biggrin.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/biggrin@2x.png 2x_qt_ title_eq__qt__dd_D_qt_ width_eq__qt_20_qt_ /_gt_\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Wingnut","Date":"2018-06-10T17:17:32Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHmm_co_ yeah_co_ then I guess you are correct.  Sorry about that.  Let_t_s ping _lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/?do_eq_hovercard_qt_ data-mentionid_eq__qt_4442_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/_qt_ rel_eq__qt__qt__gt_@Deltakosh_lt_/a_gt_ and see what he says. \n_lt_/p_gt_\n\n_lt_p_gt_\n\tOh_co_ I guess you DID ping him_co_ earlier. \n_lt_/p_gt_\n\n_lt_p_gt_\n\tDarn.  I_t_ll keep thinking.  You even told me that one version of BJS worked and another didn_t_t... in your first post!\n_lt_/p_gt_\n\n_lt_p_gt_\n\tWhat_co_ was I sleeping when I read that?  Sorry.  (Wingnut bonks himself on the head with a 2 by 4 to see if his reading improves).\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI have had THREE times when I didn_t_t read the user_t_s post correctly... in the last 3 weeks.  I_t_m surely falling apart_co_ mentally. _lt_span_gt__lt_img alt_eq__qt__dd_)_qt_ data-emoticon_eq__qt__qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ title_eq__qt__dd_)_qt_ width_eq__qt_20_qt_ /_gt__lt_/span_gt_\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Deltakosh","Date":"2018-06-11T16:46:10Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHello_co_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tcan you try this code?\n_lt_/p_gt_\n\n_lt_pre_gt_\n_lt_code class_eq__qt_language-javascript_qt__gt_canvas.removeEventListener(_qt_pointerout_qt__co_ engine._onCanvasPointerOut)_lt_/code_gt__lt_/pre_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"Lary","Date":"2018-06-21T08:17:27Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_blockquote class_eq__qt_ipsQuote_qt_ data-ipsquote_eq__qt__qt_ data-ipsquote-contentapp_eq__qt_forums_qt_ data-ipsquote-contentclass_eq__qt_forums_Topic_qt_ data-ipsquote-contentcommentid_eq__qt_217662_qt_ data-ipsquote-contentid_eq__qt_38130_qt_ data-ipsquote-contenttype_eq__qt_forums_qt_ data-ipsquote-timestamp_eq__qt_1528651052_qt_ data-ipsquote-userid_eq__qt_5733_qt_ data-ipsquote-username_eq__qt_Wingnut_qt__gt_\n\t_lt_div class_eq__qt_ipsQuote_citation_qt__gt_\n\t\tOn 6/11/2018 at 1_dd_17 AM_co_ Wingnut said_dd_\n\t_lt_/div_gt_\n\n\t_lt_div class_eq__qt_ipsQuote_contents_qt__gt_\n\t\t_lt_p_gt_\n\t\t\tHmm_co_ yeah_co_ then I guess you are correct.  Sorry about that.  Let_t_s ping _lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/?do_eq_hovercard_qt_ data-mentionid_eq__qt_4442_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/_qt_ rel_eq__qt__qt__gt_@Deltakosh_lt_/a_gt_ and see what he says. \n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tOh_co_ I guess you DID ping him_co_ earlier. \n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tDarn.  I_t_ll keep thinking.  You even told me that one version of BJS worked and another didn_t_t... in your first post!\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tWhat_co_ was I sleeping when I read that?  Sorry.  (Wingnut bonks himself on the head with a 2 by 4 to see if his reading improves).\n\t\t_lt_/p_gt_\n\n\t\t_lt_p_gt_\n\t\t\tI have had THREE times when I didn_t_t read the user_t_s post correctly... in the last 3 weeks.  I_t_m surely falling apart_co_ mentally. _lt_span_gt__lt_img alt_eq__qt__dd_)_qt_ data-emoticon_eq__qt__qt_ height_eq__qt_20_qt_ src_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/default_smile.png_qt_ srcset_eq__qt_http_dd_//www.html5gamedevs.com/uploads/emoticons/smile@2x.png 2x_qt_ title_eq__qt__dd_)_qt_ width_eq__qt_20_qt_ /_gt__lt_/span_gt_\n\t\t_lt_/p_gt_\n\t_lt_/div_gt_\n_lt_/blockquote_gt_\n\n_lt_p_gt_\n\tHi _lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/5733-wingnut/?do_eq_hovercard_qt_ data-mentionid_eq__qt_5733_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/5733-wingnut/_qt_ rel_eq__qt__qt__gt_@Wingnut_lt_/a_gt_ and _lt_span_gt__lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/?do_eq_hovercard_qt_ data-mentionid_eq__qt_4442_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/4442-deltakosh/_qt_ rel_eq__qt__qt__gt_@Deltakosh_lt_/a_gt__co_ sorry to inform you late_co_ finally I found a solution_co_ by deleting the _qt_canvas.tabindex _eq_ 1_qt__co_ then it works_co_ though I don_t_t know why..anyway_co_ thanks!_lt_/span_gt_\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"}]