diff options
author | heeju Joo <heeju.joo@samsung.com> | 2013-09-26 16:24:05 +0900 |
---|---|---|
committer | heeju Joo <heeju.joo@samsung.com> | 2013-10-04 14:18:07 +0900 |
commit | 1485c1e974f162d4a0c7574fbc6abf864a80ae48 (patch) | |
tree | fb6aa47cf5e35509758400cbf8267aaae5c09631 | |
parent | 2b3292b84e9dc4acb61812ffaad194cb486be64e (diff) | |
download | web-ui-fw-1485c1e974f162d4a0c7574fbc6abf864a80ae48.tar.gz web-ui-fw-1485c1e974f162d4a0c7574fbc6abf864a80ae48.tar.bz2 web-ui-fw-1485c1e974f162d4a0c7574fbc6abf864a80ae48.zip |
winset: make 'Get input text popup' scrollable (N_SE-53221)
add 'ui-popup-scroller-bg' in tokentextarea widget code.
Change-Id: Icf2fa1a9643eadf7e81013ac07ad70d54518cdfe
3 files changed, 5 insertions, 2 deletions
diff --git a/demos/tizen-winsets/widgets/tokentextarea/tokentextarea-demo.js b/demos/tizen-winsets/widgets/tokentextarea/tokentextarea-demo.js index 52720f18..02501818 100644 --- a/demos/tizen-winsets/widgets/tokentextarea/tokentextarea-demo.js +++ b/demos/tizen-winsets/widgets/tokentextarea/tokentextarea-demo.js @@ -14,7 +14,7 @@ $( "#MBTgetInputTextTest" ).on( "click", function () { var input = $( ":jqmData(role='tokentextarea')" ).tokentextarea( "inputText" ); - $( ".tta-popup .ui-popup-text" ).text( "Input string : " + input ); + $( ".tta-popup .ui-popup-scroller-bg .ui-popup-text" ).text( "Input string : " + input ); }); $( "#MBTremoveAllItemTest" ).on( "click", function () { diff --git a/demos/tizen-winsets/widgets/tokentextarea/tokentextarea.html b/demos/tizen-winsets/widgets/tokentextarea/tokentextarea.html index 22fe8076..eaf8a78a 100644 --- a/demos/tizen-winsets/widgets/tokentextarea/tokentextarea.html +++ b/demos/tizen-winsets/widgets/tokentextarea/tokentextarea.html @@ -39,7 +39,9 @@ </ul> <div id="tta_popup" data-role="popup" class="tta-popup"> - <div class="ui-popup-text"> + <div class="ui-popup-scroller-bg" data-scroll="y"> + <div class="ui-popup-text"> + </div> </div> <div class="ui-popup-button-bg"> <a data-role="button" data-rel="back" data-inline="true">OK</a> diff --git a/src/themes/tizen/common/jquery.mobile.tizen.popup.less b/src/themes/tizen/common/jquery.mobile.tizen.popup.less index 54e37c1d..34afb8c2 100644 --- a/src/themes/tizen/common/jquery.mobile.tizen.popup.less +++ b/src/themes/tizen/common/jquery.mobile.tizen.popup.less @@ -22,6 +22,7 @@ .ui-popup-scroller-bg { width : 100%; + max-height : 256 * @unit_base; } .ui-popup-container { |