That happens sometimes when connection is poor (and sync takes too much time) because sync is taking place in real time. A workaround is to edit files locally when out of smooth internet connection.
Also there used to be a problem with filenames consisting of utf characters not syncing correctly and producing conflicting copies. A simple sollution was to use only ascii characters in filenames.