Meteor + Ionic + Meteoric : Is Ionic's Floating Labels for Text Input supported in meteoric package? -


i trying use floating labels meteoric package - https://atmospherejs.com/meteoric/ionic available @ http://ionicframework.com/docs/components/#forms-floating-labels. however, once click inside textbox, floating labels not appear. somehow, opacity of span tag class input-label not change opacity 0 1

i have created meteorpad @ http://meteorpad.com/pad/bn38rssh3cldjbaay/ionic%20floating%20label however, think meteorpad still not support scss , hence, app not working expected on meteorpad server. perhaps, can download , run locally. please rename style.css style.scss.

p.s.: issue has been added @ meteoric github page - https://github.com/meteoric/meteor-ionic/issues/283

the meteoric package support css, 'floating labels' feature require little javascript add , remove class name. add following page floating labels:

$('.item-floating-label>input').on('keyup', function(){   $(this).val() ? $(this).prev().addclass('has-input')                  : $(this).prev().removeclass('has-input');  }); 

i added github page earlier well.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -