Like 65er said, the front derailer will have different pull. You're gonna need either a shifter designed for road pull, or a derailer designed for mtb pull.
A friction shifter would negate the problem, but I think they'd be hard to find anything recent designed for flat bars.