Hi sachin.b-s!
We appreciate you reaching out to us with your inquiry.
I was trying to reproduce your problem, but in my case everything is working correctly. Here is the working online demo:
https://jsfiddle.net/BlackLabel/9rden6xp/
Could you reproduce the issue in an online editor that I could work on? You can use my demo and send me a forked link.
I am looking for your response.
Regards!