Open zhudock opened 4 years ago
@zhudock I will investigate it closely and will get back to you with the fix via branch v1.1.1
It looks like adding the removeClass
call noted below inside the _maskCreateNew
from the js file should resolve it.
if ( returnObject.fieldContainer.is('.t-Form-fieldContainer--floatingLabel') ) {
returnObject.fieldContainer.addClass('is-active').removeClass('apex-item-wrapper--has-icon');
}
Something about the combination of the Optional-Floating appearance and setting a custom icon adds a large area of whitespace next to the floating label text.
EDIT: It looks like setting a custom icon adds the
.apex-item-wrapper--has-icon
class to the form field container div. That class doesn't exist when the default icon is used