1

양식에 날짜 입력이 필요한 크롬 확장 프로그램을 개발 중입니다. 양식이 팝업으로 표시됩니다. 이제 캘린더를 클릭 할 때마다 전체 팝업이 캘린더 대신 닫힙니다. 그것을 막는 가장 좋은 방법은 무엇입니까? 이 2 년 전보다 일반적인 버그로 제출되었으며, 여전히 해결되지크롬 확장 프로그램의 캘린더 팝업 관련 문제

<!doctype html> 

<meta charset="utf-8"> 

<meta name="viewport" content="width=device-width"> 
<meta http-equiv="cache-control" content="no-cache"> 
<meta http-equiv="pragma" content="no-cache"> 
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> 

<title>Extension Sample</title> 

<!-- Bootstrap itself --> 
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css"> 

<!-- Custom styles --> 
<link rel="stylesheet" href="css/style.css"> 

<!-- Fonts --> 
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css"> 
<link href='http://fonts.googleapis.com/css?family=Wire+One' rel='stylesheet' type='text/css'> 


<body class="theme"> 

<!-- Main (Home) section --> 
<div> 
    <div class="container"> 
    <div class="row"> 
     <div class="col-md-10 col-lg-10 col-md-offset-1 col-lg-offset-1 text-center"> 
     <h3 class="tagline">Sample</h3> 
     <div> 
      <form method="POST"> 
      <div class="row col-sm-8 col-sm-offset-2"> 
       <input class="form-control" type="text"> 
       <input class="form-control" type="date"> 
       <input class="form-control" type="time"> 
       <input class="form-control" type="email"> 
       <br> 
       <input class="form-control submit" type="submit" value="Submit"> 
      </div> 
      </form> 
     </div> 
     </div> <!-- /col --> 
    </div> <!-- /row --> 
    </div> 

</div> 
<script src="libs/jquery.1.7.0.js"></script> 
<script src="js/bootstrap.min.js"></script> 
<script src="popup.js"></script> 


</body> 
+0

문제가있는 소리는 http://stackoverflow.com/a/4148839/2336725 – Teepeemm

+0

의 복제물입니다. @ 해당 영역 외부의 브라우저와 상호 작용할 때 팝업이 닫히는 문제가 있습니다. 이 동작은 논리적 인 것처럼 보이지만 내 경우에는 내부를 클릭해도 팝업이 닫힙니다. – gsrivast

+0

팝업창을 열면 팝업창이 계속 열립니까? 그것은 그것이 같은 문제임을 나타내는 것처럼 보일 것입니다. – Teepeemm

답변

1

manifest.json을

{ 
    "manifest_version": 2, 
    "name": "Extension Example", 
    "version": "0.2", 
    "background": { 
     "persistent": false 
    }, 
    "browser_action": { 
     "default_icon": "icon.png", 
     "default_popup": "index.html" 
    }, 
    "permissions": [ 
     "tabs", 
     "http://*/*", 
     "https://*/*" 
    ] 
} 

index.html을 : 여기 내 파일의 스냅 샷입니다 :

https://code.google.com/p/chromium/issues/detail?id=163851

경기 수 사람들이 그 문제를 처리하도록하기 위해 거기에 쉽게 가서 문제를 제기하십시오.

관련 문제