@Ian
After a massive waste of time I tried your suggestion and it worked !!. I cannot understand why it should work OK on a pro mini @3.3v but not on an ESP8266 , as apart from the cpu speed all things should be equal. I have sourced these chips from two different suppliers and they all behave identically.
I have now attached a 3.3k resister to +5v (ESP inputs are 5V rated - so I've read) whilst using it on a 3.3v esp and that seems to work very well also.
Thanks to all who took the time to comment.
Best Regards
dataguy